2 # Makefile for the cc65 documentation
6 # Default for the compiler lib search path as compiler define
11 TXT = $(SGML:.sgml=.txt)
12 HTML = $(SGML:.sgml=.html)
13 INFO = $(SGML:.sgml=.info)
14 DVI = $(SGML:.sgml=.dvi)
16 # ------------------------------------------------------------------------------
17 # Rules to make targets
31 # ------------------------------------------------------------------------------
35 all: txt html info dvi
53 rm -f $(TXT) $(HTML) $(INFO) $(DVI) *.html *.info-*
55 # ------------------------------------------------------------------------------
56 # Make the dependencies
59 depend dep: $(OBJS:.o=.c)
60 @echo "Creating dependency information"
61 $(CC) -MM $^ > .depend