aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/mhmake/makefile20
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