source: liacs/ai/graaf/Makefile@ 337

Last change on this file since 337 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

  • Property svn:executable set to *
File size: 816 bytes
Line 
1# Makefile ga.cpp
2# Rick van der Zwet & Thomas Steenbergen
3# 0433373 / 0117544
4# AI Assigment 4
5# $Id: Makefile 612 2008-05-13 22:25:56Z rick $
6
7DVIPDF = dvipdf
8DVIPS = dvips
9DOC = report
10PROGRAM = ga
11TEX = latex -halt-on-error
12XPDF = xpdf
13XDVI = xdvi
14
15CPPFLAGS = -Wall -ggdb
16
17all: $(PROGRAM)
18
19clean: doc-clean
20 rm -vf *.o *~ core n
21
22distclean: doc-distclean
23 rm -vf $(PROGRAM)
24
25doc-clean:
26 rm -vf *.aux *.log *toc *.out *.bak *.dmakevi
27
28doc-distclean: doc-clean
29 rm -vf $(DOC).dvi $(DOC).pdf
30
31#Run twice to make sure to include proper references
32%.dvi: %.tex
33 @$(TEX) $<
34 @$(TEX) $<
35
36help:
37 @echo "Usage Makefile <option>"
38
39%.ps: %.dvi
40 $(DVIPS) -o $@ $<
41
42%.pdf: %.dvi
43 $(DVIPDF) $< $@
44
45viewdvi: $(DOC).dvi
46 $(XDVI) $(DOC).dvi
47
48viewpdf: $(DOC).pdf
49 $(XPDF) $(DOC).pdf $(PAGE)
50
51viewps: $(DOC).ps
52 $(XPDF) $(DOC).ps
Note: See TracBrowser for help on using the repository browser.