diff options
Diffstat (limited to 'tools/mhmake/makefile')
-rw-r--r-- | tools/mhmake/makefile | 16 |
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
|