bug fix for lpar comment
[rrq/rrqforth.git] / Makefile
1 INCS := $(shell grep ^include rrqforth.asm | tr -d "'" | sed 's/include//' )
2
3 # compile into 3 things: binary, symbolic information and debug support
4 rrqforth: rrqforth.asm $(INCS)
5         fasm $< -s $@.fas
6          ./fas2txt.lsp $@.fas > $@.map
7         chmod a+x $@
8
9 clean:
10         rm -f rrqforth{,.fas,.map}
11
12 ADOCS := $(shell echo adoc/*.adoc )
13 DOCS = reference.adoc wordindex.adoc separator.adoc $(ADOCS)
14
15 reference.html: $(DOCS)
16         asciidoc -bhtml ${@:.html=.adoc} > $@