From 111cb82886d25b0b7faa526ce411cc8ef02235a6 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 19 Nov 2010 12:10:26 +0000 Subject: Merged tools from trunk into released. This is to keep track of the original versions of tools --- tools/mhmake/makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tools/mhmake/makefile (limited to 'tools/mhmake/makefile') diff --git a/tools/mhmake/makefile b/tools/mhmake/makefile new file mode 100644 index 000000000..7efb03252 --- /dev/null +++ b/tools/mhmake/makefile @@ -0,0 +1,33 @@ +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 + +all: debug\mhmake_dbg.exe release\mhmake.exe + +DEPS=$(wildcard src\*) + +debug\mhmake_dbg.exe: $(DEPS) + devenv.com $(MHMAKESLNFILE) /build Debug + +release\mhmake.exe: $(DEPS) + devenv.com $(MHMAKESLNFILE) /build Release + +clean: cleanthis + +cleanthis: + del -e Debug + del -e Release -- cgit v1.2.3