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