m-thesis-documentation/figures/beacon/Makefile

80 lines
2.1 KiB
Makefile

.PHONY: all dist dist-clean
all: dist
dist: \
single_beacon \
field_single \
field_square \
antenna_setup \
#
dist-clean:
rm -v sine_beacon.*
rm -v ttl_beacon.*
rm -v field_single_left_time.*
rm -v field_single_left_phase.*
rm -v field_single_center_time.*
rm -v field_single_center_phase.*
rm -v field_square_all_time.*
rm -v field_square_all_phase.*
rm -v field_square_ref0_time.*
rm -v field_square_ref0_phase.*
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 $@
field_single: \
field_single_left_time.pdf field_single_left_time.png \
field_single_left_phase.pdf field_single_left_phase.png \
field_single_center_time.pdf field_single_center_time.png \
field_single_center_phase.pdf field_single_center_phase.png \
#
field_single_left_time.%: src/beacon_field.py
$< --time $@ single-left
field_single_left_phase.%: src/beacon_field.py
$< --phase $@ single-left
field_single_center_time.%: src/beacon_field.py
$< --time $@ single-center
field_single_center_phase.%: src/beacon_field.py
$< --phase $@ single-center
field_square: \
field_square_all_time.pdf field_square_all_time.png \
field_square_all_phase.pdf field_square_all_phase.png \
field_square_ref0_time.pdf field_square_ref0_time.png \
field_square_ref0_phase.pdf field_square_ref0_phase.png \
#
field_square_ref0_time.%: src/beacon_field.py
$< --time $@ square --ref 0
field_square_ref0_phase.%: src/beacon_field.py
$< --phase $@ square --ref 0
field_square_all_time.%: src/beacon_field.py
$< --time $@ square
field_square_all_phase.%: src/beacon_field.py
$< --phase $@ square
antenna_setup: \
antenna_setup_four.pdf antenna_setup_four.png \
antenna_setup_three.pdf antenna_setup_three.png \
#
antenna_setup_four.%: src/four_antenna_setup.py
$< $@
antenna_setup_three.%: src/four_antenna_setup.py
$< --no-extra $@