From 3f24ebf0bfaa1695f342453d947066c9864162a9 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Mon, 6 Sep 2004 23:30:17 +0000 Subject: [PATCH] *** empty log message *** --- apps/gcc_make/Makefile-cygwin | 15 +++++++++++++++ apps/gcc_make/apps/metro/Makefile | 13 +++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 apps/gcc_make/Makefile-cygwin create mode 100644 apps/gcc_make/apps/metro/Makefile diff --git a/apps/gcc_make/Makefile-cygwin b/apps/gcc_make/Makefile-cygwin new file mode 100644 index 00000000..bc2965bd --- /dev/null +++ b/apps/gcc_make/Makefile-cygwin @@ -0,0 +1,15 @@ + +ADIRS=./* +MAKE = make +app: + @for DIRS in apps/$(ADIRS);do \ + (cd $${DIRS}; $(MAKE) app ) \ + done\ + +clean: + @for DIRS in apps/$(ADIRS);do \ + (cd $${DIRS}; rm *.o ) \ + done\ + + + diff --git a/apps/gcc_make/apps/metro/Makefile b/apps/gcc_make/apps/metro/Makefile new file mode 100644 index 00000000..0f4a7e1e --- /dev/null +++ b/apps/gcc_make/apps/metro/Makefile @@ -0,0 +1,13 @@ +CC = g++ +CFLAGS = -Wall -pedantic +DEFINED = __GNUC +ROOT=../../../.. + + +app: plylib.o $(ROOT)/apps/metro/metro.cpp + $(CC) $(CFLAGS) -D$(DEFINED) -I$(ROOT) -o metro $(ROOT)/apps/metro/metro.cpp plylib.o + +plylib.o: $(ROOT)/wrap/ply/plylib.cpp + $(CC) -c -D$(DEFINED) -I$(ROOT) $(ROOT)/wrap/ply/plylib.cpp + +