buddylistgrapher
view Makefile @ 1:8d8b41f7c0bc
added --help to the cpp edition
author | meillo@marmaro.de |
---|---|
date | Mon, 28 May 2007 18:43:49 +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