1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00

Ignore some more intermediate files

git-svn-id: svn://svn.cc65.org/cc65/trunk@711 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-05-04 17:46:30 +00:00
parent 1fbf554c63
commit 00074cedbc
2 changed files with 20 additions and 11 deletions

View File

@ -1,14 +1,16 @@
.depend
*.man
*.dvi
*.html
*.info
*.info
*.tex
ar65.txt
ca65.txt
cc65.txt
cl65.txt
cl65.txt
coding.txt
debugging.txt
dio.txt
dio.txt
geos.txt
index.txt
intro.txt

View File

@ -22,6 +22,7 @@ TXT = $(SGML:.sgml=.txt)
HTML = $(SGML:.sgml=.html)
INFO = $(SGML:.sgml=.info)
DVI = $(SGML:.sgml=.dvi)
TEX = $(SGML:.sgml=.tex)
# ------------------------------------------------------------------------------
# Rules to make targets
@ -30,7 +31,7 @@ DVI = $(SGML:.sgml=.dvi)
sgml2txt $<
%.html: %.sgml
sgml2html --split=1 $<
sgml2html --split=1 $<
%.info: %.sgml
sgml2info $<
@ -38,33 +39,39 @@ DVI = $(SGML:.sgml=.dvi)
%.dvi: %.sgml
sgml2latex $<
%.tex: %.sgml
sgml2latex --output=tex $<
# ------------------------------------------------------------------------------
# Targets
.PHONY: all
all: txt html info dvi
all: txt html info dvi
.PHONY: txt
txt: $(TXT)
txt: $(TXT)
.PHONY: html
html: $(HTML)
html: $(HTML)
.PHONY: info
info: $(INFO)
info: $(INFO)
.PHONY: dvi
dvi: $(DVI)
dvi: $(DVI)
.PHONY: tex
tex: $(TEX)
# The index.html target is special, since it does not get splitted
index.html: index.sgml
sgml2html --split=0 $<
sgml2html --split=0 $<
clean:
rm -f *~
zap: clean
rm -f $(TXT) $(HTML) $(INFO) $(DVI) *.html *.info-* *.man
rm -f $(TXT) $(HTML) $(INFO) $(DVI) $(TEX) *.html *.info-* *.man
# ------------------------------------------------------------------------------
# Make the dependencies