diff Makefile @ 0:acb5694e93d9

Initial import.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 May 2010 04:25:44 +0300
parents
children c3622b53a23e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Tue May 18 04:25:44 2010 +0300
@@ -0,0 +1,46 @@
+all: pwplib.a
+	cd peluce; make
+	cd nykyaeka; make
+	cd oldchsool; make
+
+./configure:
+	$(CC) configure.c -o configure
+
+pwplib/Makefile: ./configure
+	./configure
+	exit 123
+
+pwplib.a: pwplib/Makefile
+	cd pwplib; make
+
+clean:
+	rm -f *~ ./configure ./configure.exe
+	cd pwplib; make clean; rm -f Makefile
+	cd peluce; make clean; rm -f Makefile
+	cd nykyaeka; make clean; rm -f Makefile
+	cd oldchsool; make clean; rm -f Makefile
+
+linux: ./configure
+	./configure linux
+	make all
+
+sdl: ./configure
+	./configure sdl
+	make all
+
+unix: ./configure
+	./configure unix
+	make all
+
+hpux: ./configure
+	./configure hpux
+	make all
+
+cygwin: ./configure
+	./configure cygwin
+	make all
+
+win32: ./configure
+	./configure win32
+	make all
+