From 81bc81c04b5792f6bc71d886d49ce412ff35951b Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Tue, 1 Apr 2008 01:38:35 +0000 Subject: renaming makefile to Makefile --- tools/tmxcopy/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/tmxcopy/Makefile (limited to 'tools') diff --git a/tools/tmxcopy/Makefile b/tools/tmxcopy/Makefile new file mode 100644 index 00000000..732dec36 --- /dev/null +++ b/tools/tmxcopy/Makefile @@ -0,0 +1,18 @@ +CC=g++ +CFLAGS=-c `pkg-config --cflags libxml-2.0` +LDFLAGS=`pkg-config --libs libxml-2.0` +SOURCES=base64.cpp main.cpp map.cpp xmlutils.cpp zlibutils.cpp +OBJECTS=$(SOURCES:.cpp=.o) +EXECUTABLE=tmxcopy + +all: $(SOURCES) $(EXECUTABLE) + make clean + +$(EXECUTABLE): $(OBJECTS) + $(CC) $(LDFLAGS) $(OBJECTS) -o $@ + +.cpp.o: + $(CC) $(CFLAGS) $< -o $@ + +clean: + rm -f *.o -- cgit v1.2.3-70-g09d2