diff options
author | marha <marha@users.sourceforge.net> | 2009-09-20 14:18:04 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-09-20 14:18:04 +0000 |
commit | 650fd857a97752ff5ff8b1654ec78b813b78d9c2 (patch) | |
tree | 64d4a1ab0bdbad41be129dfeb999c648f69a31ff | |
parent | 4d5664922a121914cddc705cfb8b0ba2daeb3b1c (diff) | |
download | vcxsrv-650fd857a97752ff5ff8b1654ec78b813b78d9c2.tar.gz vcxsrv-650fd857a97752ff5ff8b1654ec78b813b78d9c2.tar.bz2 vcxsrv-650fd857a97752ff5ff8b1654ec78b813b78d9c2.zip |
Now mhmake can be compiled with mhmake
-rw-r--r-- | tools/mhmake/makefile | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/tools/mhmake/makefile b/tools/mhmake/makefile index 7efb03252..dbdceb017 100644 --- a/tools/mhmake/makefile +++ b/tools/mhmake/makefile @@ -1,18 +1,4 @@ -ifneq ($(BASEAUTOMAK),makefile)
-ifneq ($(BASEAUTOMAK),linux)
-$(error Please specify BASEAUTOMAK=makefile or BASEAUTOMAK=linux on the command-line or in the environment)
-endif
-endif
-ifneq ($(CONFIG),LINESIM)
-$(error Please specify CONFIG=LINESIM on the command-line or in the environment)
-endif
-NOAUTOINCLIBS:=1
-
-ifdef VS2008
MHMAKESLNFILE=mhmake.sln
-else
-MHMAKESLNFILE=mhmakevc6.sln
-endif
.PHONY: all mhmake_dbg mhmake cleanthis
@@ -20,11 +6,13 @@ all: debug\mhmake_dbg.exe release\mhmake.exe DEPS=$(wildcard src\*)
+VCSTUDIO:=vcexpress # choose devenv.com if you have the commercial edition
+
debug\mhmake_dbg.exe: $(DEPS)
- devenv.com $(MHMAKESLNFILE) /build Debug
+ $(VCSTUDIO) $(MHMAKESLNFILE) /build Debug
release\mhmake.exe: $(DEPS)
- devenv.com $(MHMAKESLNFILE) /build Release
+ $(VCSTUDIO) $(MHMAKESLNFILE) /build Release
clean: cleanthis
|