From 8054447c516066f5eb7ef99bd2f512e4a28ca41f Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 8 Nov 2009 06:14:43 +0000 Subject: [PATCH] abstract the mv command git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4728 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/src/Makefile b/source/src/Makefile index 646d8c46..814348ba 100644 --- a/source/src/Makefile +++ b/source/src/Makefile @@ -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,$@)