added mingw batch file

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4729 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-11-08 06:39:44 +00:00
parent 8054447c51
commit b80ece3cee
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -80,6 +80,7 @@ CLIENT_OBJS= \
bot/ac_bot_ai.o
ifneq (,$(findstring MINGW,$(PLATFORM)))
CLIENT_OBJS+= ../vcpp/SDL_win32_main.o
CLIENT_OBJS:= $(subst /,\\,$(CLIENT_OBJS))
endif
CLIENT_PCH= cube.h.gch
@@ -119,7 +120,7 @@ clean-enet: ../enet/Makefile
$(MAKE) -C ../enet/ clean
clean:
-$(RM) -f $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) ac_client ac_server
-$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) ac_client ac_server
# -$(MAKE) -C ../enet/ clean
%.h.gch: %.h
@@ -134,7 +135,7 @@ $(CLIENT_OBJS): $(CLIENT_PCH)
$(SERVER_OBJS): CXXFLAGS += $(SERVER_INCLUDES)
ifneq (,$(findstring MINGW,$(PLATFORM)))
../vcpp/%.o:
..\\vcpp\\%.o:
$(CXX) $(CXXFLAGS) -c -o $@ $(subst .o,.c,$@)
client: $(CLIENT_OBJS)
+2
View File
@@ -0,0 +1,2 @@
mingw32-make PLATFORM=MINGW MV=rename RM=del %*
PAUSE