-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.bsd
19 lines (13 loc) · 1.2 KB
/
Makefile.bsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: test/enforth test/enforthsimple
utility/enforth_definitions.h: primitives/core.edn primitives/core-ext.edn primitives/enforth.edn primitives/tools.edn
cd DefGen && lein run ../utility $(addprefix ../, $+)
utility/enforth_jumptable.h: primitives/core.edn primitives/core-ext.edn primitives/enforth.edn primitives/tools.edn
cd DefGen && lein run ../utility $(addprefix ../, $+)
utility/enforth_names.h: primitives/core.edn primitives/core-ext.edn primitives/enforth.edn primitives/tools.edn
cd DefGen && lein run ../utility $(addprefix ../, $+)
utility/enforth_tokens.h: primitives/core.edn primitives/core-ext.edn primitives/enforth.edn primitives/tools.edn
cd DefGen && lein run ../utility $(addprefix ../, $+)
test/enforth: enforth.h enforth.c utility/enforth_definitions.h utility/enforth_jumptable.h utility/enforth_names.h utility/enforth_tokens.h test/enforth.c
cc -g -I. -I./utility -lcurses -o $@ -DENABLE_STACK_CHECKING=1 enforth.c test/enforth.c
test/enforthsimple: enforth.h enforth.c utility/enforth_definitions.h utility/enforth_jumptable.h utility/enforth_names.h utility/enforth_tokens.h test/enforthsimple.c
cc -g -I. -I./utility -o $@ -DENABLE_STACK_CHECKING=1 enforth.c test/enforthsimple.c