m-thesis-documentation/figures/beacon/Makefile
2022-10-06 09:20:14 +02:00

115 lines
3.4 KiB
Makefile

.PHONY: all dist dist-clean
all: dist
dist: \
single_beacon \
field_single \
field_three \
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_three_left_time.*
rm -v field_three_left_phase.*
rm -v field_three_center_time.*
rm -v field_three_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_three: \
field_three_left_time.pdf field_three_left_time.png \
field_three_left_phase.pdf field_three_left_phase.png \
field_three_center_time.pdf field_three_center_time.png \
field_three_center_phase.pdf field_three_center_phase.png \
#
field_three_left_time.%: src/beacon_field.py
$< --time $@ three-left
field_three_left_phase.%: src/beacon_field.py
$< --phase $@ three-left
field_three_center_time.%: src/beacon_field.py
$< --time $@ three-center
field_three_center_phase.%: src/beacon_field.py
$< --phase $@ three-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_all_time_zoomtx.pdf field_square_all_time_zoomtx.png \
field_square_all_phase_zoomtx.pdf field_square_all_phase_zoomtx.png \
field_square_ref0_time_zoomtx.pdf field_square_ref0_time_zoomtx.png \
field_square_ref0_phase_zoomtx.pdf field_square_ref0_phase_zoomtx.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
field_square_ref0_time_zoomtx.%: src/beacon_field.py
$< --time $@ square --ref 0 --zoom tx
field_square_ref0_phase_zoomtx.%: src/beacon_field.py
$< --phase $@ square --ref 0 --zoom tx
field_square_all_time_zoomtx.%: src/beacon_field.py
$< --time $@ square --zoom tx
field_square_all_phase_zoomtx.%: src/beacon_field.py
$< --phase $@ square --zoom tx
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 $@