summaryrefslogtreecommitdiff
path: root/src/scheme/Makefile
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2017-12-05 13:23:09 -0700
committerBdale Garbee <bdale@gag.com>2017-12-05 13:23:09 -0700
commit2f8fce1cf6ce4bd12a836cc8ee15f4edbc95c95e (patch)
tree19a1bcb93694eb259f29e9ef9690bb31a9b8fa60 /src/scheme/Makefile
parentd314a5654fafa5eac86d8293f1197a2f2c2eac72 (diff)
parent185b11367cd85948885fceafb5d46303b6f1356d (diff)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'src/scheme/Makefile')
-rw-r--r--src/scheme/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/scheme/Makefile b/src/scheme/Makefile
new file mode 100644
index 00000000..ea94c1c0
--- /dev/null
+++ b/src/scheme/Makefile
@@ -0,0 +1,20 @@
+all: ao_scheme_builtin.h ao_scheme_const.h test/ao_scheme_test
+
+clean:
+ +cd make-const && make clean
+ +cd test && make clean
+ rm -f ao_scheme_const.h ao_scheme_builtin.h
+
+ao_scheme_const.h: ao_scheme_const.lisp make-const/ao_scheme_make_const
+ make-const/ao_scheme_make_const -o $@ ao_scheme_const.lisp
+
+ao_scheme_builtin.h: ao_scheme_make_builtin ao_scheme_builtin.txt
+ nickle ao_scheme_make_builtin ao_scheme_builtin.txt > $@
+
+make-const/ao_scheme_make_const: FRC ao_scheme_builtin.h
+ +cd make-const && make ao_scheme_make_const
+
+test/ao_scheme_test: FRC ao_scheme_const.h ao_scheme_builtin.h
+ +cd test && make ao_scheme_test
+
+FRC: