diff options
Diffstat (limited to 'tools/mhmake/makefile')
-rw-r--r-- | tools/mhmake/makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/mhmake/makefile b/tools/mhmake/makefile new file mode 100644 index 000000000..dbdceb017 --- /dev/null +++ b/tools/mhmake/makefile @@ -0,0 +1,21 @@ +MHMAKESLNFILE=mhmake.sln
+
+.PHONY: all mhmake_dbg mhmake cleanthis
+
+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)
+ $(VCSTUDIO) $(MHMAKESLNFILE) /build Debug
+
+release\mhmake.exe: $(DEPS)
+ $(VCSTUDIO) $(MHMAKESLNFILE) /build Release
+
+clean: cleanthis
+
+cleanthis:
+ del -e Debug
+ del -e Release
|