summaryrefslogtreecommitdiff
path: root/makefile.linuxppc
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-09-10 13:10:14 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-09-10 13:10:14 +0000
commitc432a12cf960f2f9edb381f895e32ec744ac912e (patch)
treefb00831e13c149b439f8b9278a701180f851a071 /makefile.linuxppc
parent8ca597e5ad81a0676bd918553edb2363884b29e0 (diff)
downloadmana-c432a12cf960f2f9edb381f895e32ec744ac912e.tar.gz
mana-c432a12cf960f2f9edb381f895e32ec744ac912e.tar.bz2
mana-c432a12cf960f2f9edb381f895e32ec744ac912e.tar.xz
mana-c432a12cf960f2f9edb381f895e32ec744ac912e.zip
*** empty log message ***
Diffstat (limited to 'makefile.linuxppc')
-rw-r--r--makefile.linuxppc29
1 files changed, 29 insertions, 0 deletions
diff --git a/makefile.linuxppc b/makefile.linuxppc
new file mode 100644
index 00000000..752946e4
--- /dev/null
+++ b/makefile.linuxppc
@@ -0,0 +1,29 @@
+CXX = g++
+# for debugging
+#CXXFLAGS = -g -march=i686 -O2
+
+# excessive optimizations for pentium pro and later
+CXXFLAGS =-Wall -O3 -fexpensive-optimizations -pipe -fomit-frame-pointer -funroll-loops -DLINUXPPC
+
+CFLAGS=-ljgmod `allegro-config --libs release` -lalfont
+
+OBJS = being.o game.o main.o map.o log.o astar.o
+OBJS += Chat/chat.cpp
+OBJS += Sound/sound.o Graphic/SuperEagle.o
+OBJS += Gui/gui.o Gui/login.o Gui/char_server.o Gui/char_select.o
+OBJS += Net/network.o Net/protocol.o
+OBJS += Mac/mac.o
+
+tmw: $(OBJS)
+ $(CXX) -o tmw $(OBJS) $(CFLAGS)
+ @echo -
+ @echo -
+ @echo "TYPE ./tmw TO LAUCH THE GAME"
+
+clean:
+ - rm -fv *.o
+ - rm -fv Net/*.o
+ - rm -fv Gui/*.o
+ - rm -fv Sound/*.o
+ - rm -fv Graphic/*.o
+ - rm -fv tmw