summaryrefslogtreecommitdiff
path: root/makefile.macosx
diff options
context:
space:
mode:
Diffstat (limited to 'makefile.macosx')
-rw-r--r--makefile.macosx33
1 files changed, 6 insertions, 27 deletions
diff --git a/makefile.macosx b/makefile.macosx
index 6a374c7f..c6f41c2a 100644
--- a/makefile.macosx
+++ b/makefile.macosx
@@ -19,32 +19,11 @@ 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
- - rm -fv Gui/*.o
- - rm -fv Sound/*.o
- - rm -fv Graphic/*.o
+ - rm -fv src/*.o
+ - rm -fv src/Net/*.o
+ - rm -fv src/Gui/*.o
+ - rm -fv src/Sound/*.o
+ - rm -fv src/Graphic/*.o
- rm -fv tmw
- - rm -rf tmw.app
+