diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-05 10:29:13 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-05 10:30:32 -0800 |
commit | 195cbeec19a6a44f309a9040d727d37fe4e2ec97 (patch) | |
tree | ac417ad545a391da52b845b378b7655fc42d5cf4 /src/scheme/Makefile | |
parent | 9dbc686ad7d3289dc0f9bcf4a973f71100e02ded (diff) |
altos/scheme: Rename to 'scheme', clean up build
Constant block is now built in a subdir to avoid messing up source
directory.
Renamed to ao_scheme to reflect language target.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/Makefile')
-rw-r--r-- | src/scheme/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/scheme/Makefile b/src/scheme/Makefile new file mode 100644 index 00000000..d8e4b553 --- /dev/null +++ b/src/scheme/Makefile @@ -0,0 +1,16 @@ +all: ao_scheme_builtin.h ao_scheme_const.h + +clean: + +cd make-const && 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 + +cd make-const && make ao_scheme_make_const + +FRC: |