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