summaryrefslogtreecommitdiff
path: root/makefile.mgw
diff options
context:
space:
mode:
Diffstat (limited to 'makefile.mgw')
-rw-r--r--makefile.mgw31
1 files changed, 0 insertions, 31 deletions
diff --git a/makefile.mgw b/makefile.mgw
deleted file mode 100644
index e3c54fff..00000000
--- a/makefile.mgw
+++ /dev/null
@@ -1,31 +0,0 @@
-CXX = g++
-# for debugging
-#CXXFLAGS += -g -march=i686 -O2
-
-# excessive optimizations for pentium pro and later
-CXXFLAGS += -Wall -march=i686 -O3 -fexpensive-optimizations -pipe \
- -fomit-frame-pointer -funroll-loops -fexceptions
-
-LIBS := -lguichan_sdl -lguichan -lSDL_mixer -lSDL_image -lSDL -lws2_32
-
-include file.list
-
-OBJS := $(patsubst src%, obj%, $(patsubst %.cpp, %.o, $(MODULES)))
-
-tmw.exe: $(OBJS)
- $(CXX) -o tmw $(OBJS) $(LIBS)
- @echo -
- @echo -
- @echo "TYPE ./tmw TO LAUCH THE GAME"
-
-clean:
- - rm -fv obj/*.o
- - rm -fv obj/net/*.o
- - rm -fv obj/gui/*.o
- - rm -fv obj/sound/*.o
- - rm -fv obj/graphic/*.o
- - rm -fv obj/resources/*.o
- - rm -fv tmw
-
-obj/%.o: src/%.cpp
- $(CXX) $(CXXFLAGS) -c $< -o $@