mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 18:48:12 +03:00
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
PROGS=step0_repl step1_read_print step2_eval step3_env step4_if_fn_do \
|
|
step5_tco step6_file
|
|
|
|
all: ${PROGS}
|
|
|
|
|
|
step0_repl: step0_repl.adb
|
|
gnatmake -g -P$@
|
|
|
|
step1_read_print: step1_read_print.adb types.ad[bs] reader.ad[bs] \
|
|
printer.ad[bs] smart_pointers.ad[bs]
|
|
gnatmake -g -P$@
|
|
|
|
step2_eval: step2_eval.adb types.ad[bs] reader.ad[bs] printer.ad[bs] \
|
|
smart_pointers.ad[bs] envs.ad[bs] evaluation.ad[bs] core.ad[bs]
|
|
gnatmake -g -P$@
|
|
|
|
step3_env: step3_env.adb types.ad[bs] reader.ad[bs] printer.ad[bs] \
|
|
smart_pointers.ad[bs] envs.ad[bs] evaluation.ad[bs] core.ad[bs]
|
|
gnatmake -g -gnata -P$@
|
|
|
|
step4_if_fn_do: step4_if_fn_do.adb types.ad[bs] reader.ad[bs] printer.ad[bs] \
|
|
smart_pointers.ad[bs] envs.ad[bs] evaluation.ad[bs] core.ad[bs]
|
|
gnatmake -g -gnata -P$@
|
|
|
|
step5_tco: step5_tco.adb types.ad[bs] reader.ad[bs] printer.ad[bs] \
|
|
smart_pointers.ad[bs] envs.ad[bs] evaluation.ad[bs] core.ad[bs]
|
|
gnatmake -g -gnata -P$@
|
|
|
|
step6_file: step6_file.adb types.ad[bs] reader.ad[bs] printer.ad[bs] \
|
|
smart_pointers.ad[bs] envs.ad[bs] evaluation.ad[bs] core.ad[bs]
|
|
gnatmake -g -gnata -P$@
|
|
|
|
clean:
|
|
rm -f obj/* ${PROGS}
|