From: Ralph Ronnquist Date: Tue, 18 May 2021 01:38:24 +0000 (+1000) Subject: cleanup makefile X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=56a9fab0f5bfcfdd455dd1640415e64c63670d9c;p=rrq%2Frrqforth.git cleanup makefile --- 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