aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/makefile
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-31 10:29:48 +0100
committermarha <marha@users.sourceforge.net>2013-01-31 10:29:48 +0100
commit49c196c1056aaed97ff5cf43beff5c436d783b99 (patch)
tree6fb821e2c4d3d4c0eedbd53fe0f37dce29412037 /tools/mhmake/makefile
parentb77427f7685360a51b4e2384ef4d0235723b410e (diff)
downloadvcxsrv-49c196c1056aaed97ff5cf43beff5c436d783b99.tar.gz
vcxsrv-49c196c1056aaed97ff5cf43beff5c436d783b99.tar.bz2
vcxsrv-49c196c1056aaed97ff5cf43beff5c436d783b99.zip
mhmake: solved file date checking on 64-bit windows
Diffstat (limited to 'tools/mhmake/makefile')
-rw-r--r--tools/mhmake/makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/tools/mhmake/makefile b/tools/mhmake/makefile
index b9aa0998b..f6a5a8ded 100644
--- a/tools/mhmake/makefile
+++ b/tools/mhmake/makefile
@@ -6,17 +6,23 @@ MHMAKESLNFILE=mhmakevc10.sln
BUILDCMD=devenv.com $(MHMAKESLNFILE) /build
endif
+ifdef IS64
+SUBCONF=|x64
+SUBCONFDIR=64
+else
+SUBCONF=|Win32
+endif
.PHONY: all mhmake_dbg mhmake cleanthis
-all: debug\mhmake_dbg.exe release\mhmake.exe
+all: debug$(SUBCONFDIR)\mhmake_dbg.exe release$(SUBCONFDIR)\mhmake.exe
DEPS=$(wildcard src\*)
-debug\mhmake_dbg.exe: $(DEPS)
- $(BUILDCMD) "Debug|Win32"
+debug$(SUBCONFDIR)\mhmake_dbg.exe: $(DEPS)
+ $(BUILDCMD) "Debug$(SUBCONF)"
-release\mhmake.exe: $(DEPS)
- $(BUILDCMD) "Release|Win32"
+release$(SUBCONFDIR)\mhmake.exe: $(DEPS)
+ $(BUILDCMD) "Release$(SUBCONF)"
clean: cleanthis