summaryrefslogtreecommitdiff
path: root/reschange/Makefile
blob: be3d94458958800fe0425fd9601800b2112248e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CC=cl.exe
CXX=cl.exe

ROOT=c:\\WinDDK\\7600.16385.1
CXXFLAGS=/I$(ROOT)\\inc\\crt /I$(ROOT)\\inc\\api

all: reschange.exe

objs=my_getopt.obj DisplayUtils.obj reschange.obj stdafx.obj

reschange.exe: $(objs)
	link.exe /libpath:$(ROOT)\\lib\\Crt\\i386 /libpath:$(ROOT)\\lib\\wxp\\i386 $(objs) user32.lib advapi32.lib /out:reschange.exe /subsystem:console

%.obj: %.cpp
	$(CXX) /c $(CXXFLAGS) $<

%.obj: %.c
	$(CXX) /c $(CXXFLAGS) $<

.PHONY: clean

clean:
	rm -f reschange.exe *.obj