view Makefile @ 16:dbaa8a943271 default tip

merge
author ju
date Thu, 05 Jul 2007 18:13:01 +0200
parents 21d9547ef242
children
line wrap: on
line source


###########################
#
# Makefile for PhyEngine01
# 
# Autor: Julian Forster
# www.ProgMaschine.de.vu
# 
###########################

###################
# Source and Progs
###################

SOURCES = graph.cpp  
PROGRAMS = graph

#########################
# Compiler Configuration
#########################

CC = g++
CFLAGS = -O

#Compile all programs
all: clean $(PROGRAMS)

$(PROGRAMS):
	$(CC) -o $(PROGRAMS) $(CFLAGS) $(SOURCES)

clean:
	rm $(PROGRAMS)

dot: $(PROGRAMS)
	./$(PROGRAMS) input.txt | dot -Tpng > pic.png