X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=Makefile;h=6693689df93537c73359ff20423c9197e3d72c12;hb=c6fd5bdf3bae68aac49a239548c82a8d08384da8;hp=ffb97c70d4453c898a0b564d4129a90073974d7e;hpb=f3bc3b97f37dd7bc012c152374d4185c734b3a7e;p=rrq%2Frrqforth.git diff --git a/Makefile b/Makefile index ffb97c7..6693689 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ INCS := $(shell grep ^include rrqforth.asm | tr -d "'" | sed 's/include//' ) -SRCS = rrqforth.asm $(INCS) # compile into 3 things: binary, symbolic information and debug support -rrqforth: rrqforth.asm - fasm $^ -s $< > $@.fas +rrqforth: rrqforth.asm $(INCS) + 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} + +ADOCS := $(shell echo adoc/*.adoc ) +DOCS = reference.adoc wordindex.adoc separator.adoc $(ADOCS) + +reference.html: $(DOCS) + asciidoc -bhtml ${@:.html=.adoc} > $@