DISABLE FDs (REMOVE ME).
[jackhill/mal.git] / forth / Makefile
CommitLineData
5245b079 1SOURCES_BASE = str.fs types.fs reader.fs printer.fs
90f618cb 2SOURCES_LISP = env.fs core.fs stepA_mal.fs
bf8237d5
JM
3SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
4
0eb9fcb6 5all:
5245b079
JM
6 true
7
8e2d4a4c 8dist: mal.fs mal
5245b079
JM
9
10mal.fs: $(SOURCES)
8e2d4a4c
JM
11 cat $+ | egrep -v "^require |^droprequire " > $@
12
13mal: mal.fs
5245b079 14 echo "#! /usr/bin/env gforth" > $@
8e2d4a4c 15 cat $< >> $@
5245b079
JM
16 chmod +x $@
17
18clean:
8e2d4a4c 19 rm -f mal.fs mal