Mercurial > buddylistgrapher
comparison Makefile @ 0:21d9547ef242
initial commit
C++ and sh editions work similar
author | meillo@marmaro.de |
---|---|
date | Mon, 28 May 2007 17:41:28 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:21d9547ef242 |
---|---|
1 | |
2 ########################### | |
3 # | |
4 # Makefile for PhyEngine01 | |
5 # | |
6 # Autor: Julian Forster | |
7 # www.ProgMaschine.de.vu | |
8 # | |
9 ########################### | |
10 | |
11 ################### | |
12 # Source and Progs | |
13 ################### | |
14 | |
15 SOURCES = graph.cpp | |
16 PROGRAMS = graph | |
17 | |
18 ######################### | |
19 # Compiler Configuration | |
20 ######################### | |
21 | |
22 CC = g++ | |
23 CFLAGS = -O | |
24 | |
25 #Compile all programs | |
26 all: clean $(PROGRAMS) | |
27 | |
28 $(PROGRAMS): | |
29 $(CC) -o $(PROGRAMS) $(CFLAGS) $(SOURCES) | |
30 | |
31 clean: | |
32 rm $(PROGRAMS) | |
33 | |
34 dot: $(PROGRAMS) | |
35 ./$(PROGRAMS) input.txt | dot -Tpng > pic.png |