blob: f6a5a8ded6a53e6e7779898e4ae02e2ee5d1f971 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
ifdef VS2008
MHMAKESLNFILE=mhmake.sln
BUILDCMD=vcbuild $(MHMAKESLNFILE)
else
MHMAKESLNFILE=mhmakevc10.sln
BUILDCMD=devenv.com $(MHMAKESLNFILE) /build
endif
ifdef IS64
SUBCONF=|x64
SUBCONFDIR=64
else
SUBCONF=|Win32
endif
.PHONY: all mhmake_dbg mhmake cleanthis
all: debug$(SUBCONFDIR)\mhmake_dbg.exe release$(SUBCONFDIR)\mhmake.exe
DEPS=$(wildcard src\*)
debug$(SUBCONFDIR)\mhmake_dbg.exe: $(DEPS)
$(BUILDCMD) "Debug$(SUBCONF)"
release$(SUBCONFDIR)\mhmake.exe: $(DEPS)
$(BUILDCMD) "Release$(SUBCONF)"
clean: cleanthis
cleanthis:
del -e Debug
del -e Release
|