From 56a9fab0f5bfcfdd455dd1640415e64c63670d9c Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Tue, 18 May 2021 11:38:24 +1000 Subject: [PATCH] cleanup makefile --- Makefile | 7 ++++--- rrqforth.asm | 12 ++++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index ffb97c7..3c1f61a 100644 --- 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} diff --git a/rrqforth.asm b/rrqforth.asm index f06c158..673f771 100644 --- a/rrqforth.asm +++ b/rrqforth.asm @@ -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 -- 2.39.2