projects
/
rrq
/
rrqforth.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reworked word lists
[rrq/rrqforth.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 012248adc33017fad4b886d323cc4fd043c8c3ef..7e3b60456bfff45338cf5024f087551a81d4b0dc 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,10
@@
-BINARY = rrqforth
+INCS := $(shell grep ^include rrqforth.asm | tr -d "'" | sed 's/include//' )
-rrqforth: main.fasm
- fasm $^ $@
+# compile into 3 things: binary, symbolic information and debug support
+rrqforth: rrqforth.asm $(INCS)
+ fasm $< -s $@.fas
+ ./fas2txt.lsp $@.fas > $@.map
+ chmod a+x $@
+clean:
+ rm -f rrqforth{,.fas,.map}