diff options
author | marha <marha@users.sourceforge.net> | 2010-04-30 08:01:40 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-04-30 08:01:40 +0000 |
commit | dd8ebf55bd734ee73fb0ac20b5a316706b1e22ea (patch) | |
tree | bb0a3b842e59d2b017c29e94d989492e983591e4 /tools/mhmake/makefile | |
parent | 12ff0c3777f65014ade1e6db0393bcbb22581754 (diff) | |
download | vcxsrv-dd8ebf55bd734ee73fb0ac20b5a316706b1e22ea.tar.gz vcxsrv-dd8ebf55bd734ee73fb0ac20b5a316706b1e22ea.tar.bz2 vcxsrv-dd8ebf55bd734ee73fb0ac20b5a316706b1e22ea.zip |
Added visual studio 2010 project files.
Diffstat (limited to 'tools/mhmake/makefile')
-rw-r--r-- | tools/mhmake/makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/mhmake/makefile b/tools/mhmake/makefile index 6b8f7c8cb..15f846d2e 100644 --- a/tools/mhmake/makefile +++ b/tools/mhmake/makefile @@ -1,4 +1,10 @@ +ifdef VS2010
+MHMAKESLNFILE=mhmakevc10.sln
+BUILDCMD=devenv.com $(MHMAKESLNFILE) /build
+else
MHMAKESLNFILE=mhmake.sln
+BUILDCMD=devenv.com vcbuild $(MHMAKESLNFILE)
+endif
.PHONY: all mhmake_dbg mhmake cleanthis
@@ -7,10 +13,10 @@ all: debug\mhmake_dbg.exe release\mhmake.exe DEPS=$(wildcard src\*)
debug\mhmake_dbg.exe: $(DEPS)
- vcbuild $(MHMAKESLNFILE) "Debug|Win32"
+ $(BUILDCMD) "Debug|Win32"
release\mhmake.exe: $(DEPS)
- vcbuild $(MHMAKESLNFILE) "Release|Win32"
+ $(BUILDCMD) "Release|Win32"
clean: cleanthis
|