# Last edited on 2026-03-11 10:05:38 by stolfi SHELL := /bin/bash -eu SCRIPTS := ${wildcard {work/,}*.{sh,gawk,py,sed} } SOURCES := in/bencao.uts in/bencao.pys ../074/st_files/str-parags.ivt # all: tuples # all: word-pairs all: lines-with-pat # all: test-del-shift-add # all: test-list-words # all: test-size-pos-funcs # TARGETS := ALL # TARGETS := starps-fu-ec-par-starps-gd-ec-par-upp-hist.png # TARGETS := starps-fu-wp-pag-daiin.wpo # TARGETS := starps-fu-wp-par-daiin.wpo TARGETS_OPA := \ starps-fu-wp-lin-with-daiin.opc \ starps-fu-wp-lin-with-XaiR.opc \ bencao-fu-ch-par-with-zhu3.opc lines-with-pat: ${SCRIPTS} ${SOURCES} do_note_077.py ${TARGETS_OPA} TARGETS_TUP := \ bencao-fu-ch-par-4-with-zhu3.tfr \ starps-fu-wp-pag-2-with-DAIIN.tfr \ starps-fu-ec-pag-11.tfr tuples: ${SCRIPTS} ${SOURCES} do_note_077.py ${TARGETS_TUP} TARGETS_WPAIR_A := \ bencao-fu-ch-par-zhu3zhi4-bA-starps-fu-wp-par-daiin-fA-wdpairs.png TARGETS_WPAIR_R := \ bencao-fu-ch-par-zhu3zhi4-bR-starps-fu-wp-par-daiin-fR-wdpairs.png TARGETS_WPAIR_AR := ${TARGETS_A} ${TARGETS_R} word-pairs:${SCRIPTS} ${SOURCES} do_note_077.py ${TARGETS_WPAIR_AR} test-del-shift-add: \ test_del_shift_add_funcs.py \ work/del_shift_add_funcs.py \ plot_pos_file.sh \ plot_pos_file_aux.gawk test_del_shift_add_funcs.py test-list-words: \ size_position_funcs.py list_word_positions_in_lines.py test test-size-pos-funcs: \ size_position_funcs.py size_position_funcs.py test