summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-04-01 01:38:35 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-04-01 01:38:35 +0000
commit81bc81c04b5792f6bc71d886d49ce412ff35951b (patch)
treee8f38696cf059bc96d5e491eb30adddc81d65f92
parent0bbbd488965a6d29f79075cb8c3ffde18a369a9a (diff)
downloadMana-81bc81c04b5792f6bc71d886d49ce412ff35951b.tar.gz
Mana-81bc81c04b5792f6bc71d886d49ce412ff35951b.tar.bz2
Mana-81bc81c04b5792f6bc71d886d49ce412ff35951b.tar.xz
Mana-81bc81c04b5792f6bc71d886d49ce412ff35951b.zip
renaming makefile to Makefile
-rw-r--r--tools/tmxcopy/Makefile18
1 files changed, 18 insertions, 0 deletions
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