buddylistgrapher
view 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 |
line source
2 ###########################
3 #
4 # Makefile for PhyEngine01
5 #
6 # Autor: Julian Forster
7 # www.ProgMaschine.de.vu
8 #
9 ###########################
11 ###################
12 # Source and Progs
13 ###################
15 SOURCES = graph.cpp
16 PROGRAMS = graph
18 #########################
19 # Compiler Configuration
20 #########################
22 CC = g++
23 CFLAGS = -O
25 #Compile all programs
26 all: clean $(PROGRAMS)
28 $(PROGRAMS):
29 $(CC) -o $(PROGRAMS) $(CFLAGS) $(SOURCES)
31 clean:
32 rm $(PROGRAMS)
34 dot: $(PROGRAMS)
35 ./$(PROGRAMS) input.txt | dot -Tpng > pic.png