2 # Makefile for the cc65 documentation
6 # Default for the compiler lib search path as compiler define
15 TXT = $(SGML:.sgml=.txt)
16 HTML = $(SGML:.sgml=.html)
17 INFO = $(SGML:.sgml=.info)
18 DVI = $(SGML:.sgml=.dvi)
20 # ------------------------------------------------------------------------------
21 # Rules to make targets
27 sgml2html --split=1 $<
35 # ------------------------------------------------------------------------------
39 all: txt html info dvi
57 rm -f $(TXT) $(HTML) $(INFO) $(DVI) *.html *.info-* *.man
59 # ------------------------------------------------------------------------------
60 # Make the dependencies
63 depend dep: $(OBJS:.o=.c)
64 @echo "Creating dependency information"
65 $(CC) -MM $^ > .depend