From 650fd857a97752ff5ff8b1654ec78b813b78d9c2 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 20 Sep 2009 14:18:04 +0000 Subject: Now mhmake can be compiled with mhmake --- tools/mhmake/makefile | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'tools/mhmake') 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 -- cgit v1.2.3