X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=Makefile;h=6693689df93537c73359ff20423c9197e3d72c12;hb=f0b6d5b7831eff95b587bff49e5069e94503fb5c;hp=3c1f61a6bca20737a33345fb01a1e4adc459e892;hpb=56a9fab0f5bfcfdd455dd1640415e64c63670d9c;p=rrq%2Frrqforth.git diff --git a/Makefile b/Makefile index 3c1f61a..6693689 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +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 +rrqforth: rrqforth.asm $(INCS) fasm $< -s $@.fas ./fas2txt.lsp $@.fas > $@.map chmod a+x $@ clean: 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} > $@