2 # Makefile for the cc65 documentation
6 # Default for the compiler lib search path as compiler define
13 TXT = $(SGML:.sgml=.txt)
14 HTML = $(SGML:.sgml=.html)
15 INFO = $(SGML:.sgml=.info)
16 DVI = $(SGML:.sgml=.dvi)
18 # ------------------------------------------------------------------------------
19 # Rules to make targets
25 sgml2html --split=0 $<
33 # ------------------------------------------------------------------------------
37 all: txt html info dvi
55 rm -f $(TXT) $(HTML) $(INFO) $(DVI) *.html *.info-* *.man
57 # ------------------------------------------------------------------------------
58 # Make the dependencies
61 depend dep: $(OBJS:.o=.c)
62 @echo "Creating dependency information"
63 $(CC) -MM $^ > .depend