2022-10-18 07:31:51 +02:00
|
|
|
SUBDIRS := $(subst Makefile,,$(wildcard */Makefile))
|
|
|
|
|
|
|
|
.PHONY: all dist dist-clean $(SUBDIRS)
|
|
|
|
|
|
|
|
all: dist $(SUBDIRS)
|
2022-08-24 15:35:56 +02:00
|
|
|
|
2022-08-24 16:25:20 +02:00
|
|
|
dist: \
|
2022-10-05 19:27:27 +02:00
|
|
|
single_beacon \
|
2022-10-18 07:31:51 +02:00
|
|
|
field \
|
2022-10-05 19:27:27 +02:00
|
|
|
antenna_setup \
|
|
|
|
#
|
2022-08-24 16:25:20 +02:00
|
|
|
|
2022-10-18 07:31:51 +02:00
|
|
|
$(SUBDIRS):
|
|
|
|
@$(MAKE) -C $@
|
|
|
|
|
2022-08-24 16:25:20 +02:00
|
|
|
dist-clean:
|
|
|
|
rm -v sine_beacon.*
|
|
|
|
rm -v ttl_beacon.*
|
2022-08-24 15:35:56 +02:00
|
|
|
|
2022-08-31 14:31:51 +02:00
|
|
|
beacon_spatial_time_difference_setup.pdf: src/beacon_spatial_time_difference_setup.py
|
|
|
|
$< $@
|
|
|
|
|
2023-10-10 15:12:48 +02:00
|
|
|
beacon_sync: \
|
|
|
|
src/beacon_sync.py
|
|
|
|
#beacon_sync.pdf beacon_sync.png \
|
|
|
|
# beacon_sync_period.pdf beacon_sync_period.png
|
|
|
|
$< .
|
|
|
|
|
2022-10-05 19:27:27 +02:00
|
|
|
single_beacon: \
|
|
|
|
sine_beacon.pdf sine_beacon.png \
|
|
|
|
ttl_beacon.pdf ttl_beacon.png
|
|
|
|
|
2022-08-24 15:35:56 +02:00
|
|
|
sine_beacon.%: src/single_beacon.py
|
2022-10-05 17:02:51 +02:00
|
|
|
$< --periods 2 --no-grid --with-rates sine $@
|
2022-08-24 15:35:56 +02:00
|
|
|
|
|
|
|
ttl_beacon.%: src/single_beacon.py
|
2022-10-05 17:02:51 +02:00
|
|
|
$< --periods 2 --no-grid --with-rates ttl $@
|
2022-08-24 15:35:56 +02:00
|
|
|
|
2022-10-05 18:24:58 +02:00
|
|
|
|
2022-10-05 19:27:27 +02:00
|
|
|
antenna_setup: \
|
|
|
|
antenna_setup_four.pdf antenna_setup_four.png \
|
|
|
|
antenna_setup_three.pdf antenna_setup_three.png \
|
2022-10-06 14:21:43 +02:00
|
|
|
antenna_setup_two.pdf antenna_setup_two.png \
|
2022-10-05 19:27:27 +02:00
|
|
|
#
|
|
|
|
|
2023-06-12 11:14:53 +02:00
|
|
|
antenna_setup_four.%: src/antenna_geometry.py
|
|
|
|
$< $@ 4
|
2022-10-04 14:52:31 +02:00
|
|
|
|
2023-06-12 11:14:53 +02:00
|
|
|
antenna_setup_three.%: src/antenna_geometry.py
|
|
|
|
$< --no-extra $@ 3
|
2022-10-06 11:11:02 +02:00
|
|
|
|
2023-06-12 11:14:53 +02:00
|
|
|
antenna_setup_two.%: src/antenna_geometry.py
|
2022-10-06 11:11:02 +02:00
|
|
|
$< --no-extra $@ 2
|