Last change
on this file since 7 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
|
Rev | Line | |
---|
[2] | 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 |
|
---|
| 7 | DVIPDF = dvipdf
|
---|
| 8 | DVIPS = dvips
|
---|
| 9 | DOC = report
|
---|
| 10 | PROGRAM = ga
|
---|
| 11 | TEX = latex -halt-on-error
|
---|
| 12 | XPDF = xpdf
|
---|
| 13 | XDVI = xdvi
|
---|
| 14 |
|
---|
| 15 | CPPFLAGS = -Wall -ggdb
|
---|
| 16 |
|
---|
| 17 | all: $(PROGRAM)
|
---|
| 18 |
|
---|
| 19 | clean: doc-clean
|
---|
| 20 | rm -vf *.o *~ core n
|
---|
| 21 |
|
---|
| 22 | distclean: doc-distclean
|
---|
| 23 | rm -vf $(PROGRAM)
|
---|
| 24 |
|
---|
| 25 | doc-clean:
|
---|
| 26 | rm -vf *.aux *.log *toc *.out *.bak *.dmakevi
|
---|
| 27 |
|
---|
| 28 | doc-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 |
|
---|
| 36 | help:
|
---|
| 37 | @echo "Usage Makefile <option>"
|
---|
| 38 |
|
---|
| 39 | %.ps: %.dvi
|
---|
| 40 | $(DVIPS) -o $@ $<
|
---|
| 41 |
|
---|
| 42 | %.pdf: %.dvi
|
---|
| 43 | $(DVIPDF) $< $@
|
---|
| 44 |
|
---|
| 45 | viewdvi: $(DOC).dvi
|
---|
| 46 | $(XDVI) $(DOC).dvi
|
---|
| 47 |
|
---|
| 48 | viewpdf: $(DOC).pdf
|
---|
| 49 | $(XPDF) $(DOC).pdf $(PAGE)
|
---|
| 50 |
|
---|
| 51 | viewps: $(DOC).ps
|
---|
| 52 | $(XPDF) $(DOC).ps
|
---|
Note:
See
TracBrowser
for help on using the repository browser.