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