debugging FIND
[rrq/rrqforth.git] / Makefile
index ffb97c70d4453c898a0b564d4129a90073974d7e..7e3b60456bfff45338cf5024f087551a81d4b0dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
 INCS := $(shell grep ^include rrqforth.asm | tr -d "'" | sed 's/include//' )
-SRCS = rrqforth.asm $(INCS)
 
 # compile into 3 things: binary, symbolic information and debug support
-rrqforth: rrqforth.asm
-       fasm $^ -s $< > $@.fas
+rrqforth: rrqforth.asm $(INCS)
+       fasm $< -s $@.fas
+        ./fas2txt.lsp $@.fas > $@.map
        chmod a+x $@
-       ./symbols.lsp $@.fas > $@.dbg
+
 clean:
-       rm -f rrqforth{,.fas,.dbg}
+       rm -f rrqforth{,.fas,.map}