Commit | Line | Data |
---|---|---|
a3c4ba44 | 1 | PROGS=step0_repl step1_read_print step2_eval step3_env step4_if_fn_do \ |
ae274702 | 2 | step5_tco step6_file step7_quote step8_macros step9_try |
988812a6 | 3 | |
563eba42 | 4 | all: ${PROGS} stepA_mal |
99be41df | 5 | |
563eba42 | 6 | obj: |
e72493b4 | 7 | mkdir -p $@ |
99be41df | 8 | |
ae274702 | 9 | # stepA_mal is awkward because GNAT requires the filename to be lowercase |
563eba42 | 10 | ${PROGS} stepa_mal: force obj |
daa68f17 | 11 | gnatmake -O3 -gnata $@.adb -D obj |
988812a6 | 12 | |
ae274702 | 13 | # so we make stepa_mal and just move it. |
daa68f17 CM |
14 | stepA_mal: stepa_mal |
15 | mv $< $@ | |
5b77d5f7 | 16 | |
99be41df | 17 | clean: |
e72493b4 CM |
18 | rm -f ${PROGS} |
19 | rm -rf obj | |
f244de07 JM |
20 | |
21 | .PHONY: force | |
22 | ||
23 | force: |