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 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