aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/makefile
blob: dbdceb01738a96a3ea295051d0a87bc3da4904fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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