diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Mon May 28 17:41:28 2007 +0200
@@ -0,0 +1,35 @@
+
+###########################
+#
+# 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