diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-17 19:15:54 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-17 19:15:54 +0000 |
commit | 94db7c569ffcbde8e828783a49e9c2eb4f501066 (patch) | |
tree | 41451d3af5f53dab67e3593074063cf9e1a63e29 /makefile.macosx | |
parent | de9748c3f12f63a77e088e6425e74b59a5f6e1d7 (diff) | |
download | mana-94db7c569ffcbde8e828783a49e9c2eb4f501066.tar.gz mana-94db7c569ffcbde8e828783a49e9c2eb4f501066.tar.bz2 mana-94db7c569ffcbde8e828783a49e9c2eb4f501066.tar.xz mana-94db7c569ffcbde8e828783a49e9c2eb4f501066.zip |
Fix sound support for MacOS X, fix binary support for MacOS X
MacOS X user can now create a new character.
Fix a bugg in invetory.-
Diffstat (limited to 'makefile.macosx')
-rw-r--r-- | makefile.macosx | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/makefile.macosx b/makefile.macosx index 41f078b1..137ce693 100644 --- a/makefile.macosx +++ b/makefile.macosx @@ -5,11 +5,12 @@ CXX = g++ # excessive optimizations for pentium pro and later CXXFLAGS =-Wall -O3 -fexpensive-optimizations -pipe -fomit-frame-pointer -funroll-loops -DMACOSX -fexceptions -CFLAGS=`allegro-config --libs release` -lalfont +CFLAGS=`allegro-config --libs release` -lalfont /usr/lib/libjgmod.a OBJS = being.o game.o main.o map.o log.o astar.o -OBJS += Sound/sound.o Graphic/SuperEagle.o Chat/chat.o -OBJS += Gui/gui.o Gui/login.o Gui/char_server.o Gui/char_select.o +OBJS += Chat/chat.o Gui/skill.o +OBJS += Sound/sound.o Graphic/SuperEagle.o +OBJS += Gui/gui.o Gui/login.o Gui/char_server.o Gui/char_select.o Gui/inventory.o OBJS += Net/network.o Net/protocol.o OBJS += Mac/mac.o @@ -19,6 +20,27 @@ tmw: $(OBJS) @echo - @echo "TYPE ./tmw TO LAUCH THE GAME" +tmw-app: $(OBJS) + $(CXX) -o tmw-app $(OBJS) $(CFLAGS) -DMACOSX_APP + +app: tmw-app + rm -rf tmw.app + mkdir tmw.app + mkdir tmw.app/Contents + mkdir tmw.app/Contents/Resources + mkdir tmw.app/Contents/MacOS + cp tmw-app tmw.app/Contents/MacOS/ + cp *.dat tmw.app/Contents/Resources/ + cp -R Sound tmw.app/Contents/Resources/ + cp -R items tmw.app/Contents/Resources/ + cp -R Graphic tmw.app/Contents/Resources/ + cp -R Aqua tmw.app/Contents/Resources/ + cp -R Maps tmw.app/Contents/Resources/ + cp aqua.skin tmw.app/Contents/Resources/ + cp tmw.ini tmw.app/Contents/Resources/ + mv tmw.app tmw.app2 + mv tmw.app2 tmw.app + clean: - rm -fv *.o - rm -fv Net/*.o @@ -26,3 +48,4 @@ clean: - rm -fv Sound/*.o - rm -fv Graphic/*.o - rm -fv tmw + - rm -rf tmw.app |