annotate Makefile @ 16:dbaa8a943271 default tip

merge
author ju
date Thu, 05 Jul 2007 18:13:01 +0200
parents 21d9547ef242
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
1
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
2 ###########################
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
3 #
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
4 # Makefile for PhyEngine01
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
5 #
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
6 # Autor: Julian Forster
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
7 # www.ProgMaschine.de.vu
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
8 #
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
9 ###########################
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
10
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
11 ###################
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
12 # Source and Progs
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
13 ###################
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
14
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
15 SOURCES = graph.cpp
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
16 PROGRAMS = graph
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
17
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
18 #########################
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
19 # Compiler Configuration
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
20 #########################
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
21
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
22 CC = g++
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
23 CFLAGS = -O
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
24
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
25 #Compile all programs
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
26 all: clean $(PROGRAMS)
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
27
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
28 $(PROGRAMS):
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
29 $(CC) -o $(PROGRAMS) $(CFLAGS) $(SOURCES)
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
30
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
31 clean:
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
32 rm $(PROGRAMS)
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
33
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
34 dot: $(PROGRAMS)
21d9547ef242 initial commit
meillo@marmaro.de
parents:
diff changeset
35 ./$(PROGRAMS) input.txt | dot -Tpng > pic.png