abstract the mv command

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4728 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-11-08 06:14:43 +00:00
parent 11fb64a82c
commit 8054447c51
+3 -1
View File
@@ -13,6 +13,8 @@ ifeq (,$(findstring -pg,$(CXXFLAGS)))
endif
endif
MV=mv
ifneq (,$(findstring MINGW,$(PLATFORM)))
WINDRES= windres
CLIENT_INCLUDES= $(INCLUDES) -I../include
@@ -122,7 +124,7 @@ clean:
%.h.gch: %.h
$(CXX) $(CXXFLAGS) -o $@.tmp $(subst .h.gch,.h,$@)
mv $@.tmp $@
$(MV) $@.tmp $@
%-standalone.o: %.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $(subst -standalone.o,.cpp,$@)