mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-12-23 13:33:31 +01:00
47 lines
968 B
Makefile
47 lines
968 B
Makefile
SUBDIRS := $(subst Makefile,,$(wildcard */Makefile))
|
|
|
|
.PHONY: all dist dist-clean $(SUBDIRS)
|
|
|
|
all: dist $(SUBDIRS)
|
|
|
|
dist: \
|
|
single_beacon \
|
|
field \
|
|
antenna_setup \
|
|
#
|
|
|
|
$(SUBDIRS):
|
|
@$(MAKE) -C $@
|
|
|
|
dist-clean:
|
|
rm -v sine_beacon.*
|
|
rm -v ttl_beacon.*
|
|
|
|
beacon_spatial_time_difference_setup.pdf: src/beacon_spatial_time_difference_setup.py
|
|
$< $@
|
|
|
|
single_beacon: \
|
|
sine_beacon.pdf sine_beacon.png \
|
|
ttl_beacon.pdf ttl_beacon.png
|
|
|
|
sine_beacon.%: src/single_beacon.py
|
|
$< --periods 2 --no-grid --with-rates sine $@
|
|
|
|
ttl_beacon.%: src/single_beacon.py
|
|
$< --periods 2 --no-grid --with-rates ttl $@
|
|
|
|
|
|
antenna_setup: \
|
|
antenna_setup_four.pdf antenna_setup_four.png \
|
|
antenna_setup_three.pdf antenna_setup_three.png \
|
|
antenna_setup_two.pdf antenna_setup_two.png \
|
|
#
|
|
|
|
antenna_setup_four.%: src/four_antenna_geometry.py
|
|
$< $@
|
|
|
|
antenna_setup_three.%: src/four_antenna_geometry.py
|
|
$< --no-extra $@
|
|
|
|
antenna_setup_two.%: src/four_antenna_geometry.py
|
|
$< --no-extra $@ 2
|