cleanup makefile
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Tue, 18 May 2021 01:38:24 +0000 (11:38 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Tue, 18 May 2021 01:38:24 +0000 (11:38 +1000)
Makefile
rrqforth.asm

index ffb97c70d4453c898a0b564d4129a90073974d7e..3c1f61a6bca20737a33345fb01a1e4adc459e892 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,9 @@ SRCS = rrqforth.asm $(INCS)
 
 # compile into 3 things: binary, symbolic information and debug support
 rrqforth: rrqforth.asm
-       fasm $^ -s $< > $@.fas
+       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}
index f06c158bd5a9879f64f804185a7292861a307d38..673f77166060c23cada4bb1d44514122b7f360b0 100644 (file)
@@ -157,12 +157,12 @@ dostring:
        push rax+1
        next
 
-include 'wordlists.fasm'
-include 'syscalls.fasm'
-include 'memory.fasm'
-include 'stack.fasm'
-include 'math.fasm'
-include 'stdio.fasm'
+include 'wordlists.asm'
+include 'syscalls.asm'
+include 'memory.asm'
+include 'stack.asm'
+include 'math.asm'
+include 'stdio.asm'
 
        WORD p_program_version,'PROGRAM_VERSION',dostring
        db length