-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathmakefile
62 lines (53 loc) · 849 Bytes
/
makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
ARCH = %%Platform%%
BIN = \
mty.exe
CFLAGS =\
/I..\src \
/MT \
/O2 \
/W4 \
/wd4201 \
/wd4100 \
/volatile:iso \
/nologo
LIBS = \
..\bin\windows\$(ARCH)\matoya.lib \
advapi32.lib \
bcrypt.lib \
crypt32.lib \
d3d11.lib \
d3d12.lib \
dxgi.lib \
dxguid.lib \
gdi32.lib \
hid.lib \
imm32.lib \
ole32.lib \
shcore.lib \
shell32.lib \
shlwapi.lib \
user32.lib \
userenv.lib \
windowscodecs.lib \
winhttp.lib \
winmm.lib \
ws2_32.lib \
xinput.lib
test: clean clear
cl $(CFLAGS) /Fe:$(BIN) src\[email protected] $(LIBS)
@mty
0-minimal: clean clear
cl $(CFLAGS) /Fe:$(BIN) src\[email protected] $(LIBS)
@mty
1-draw: clean clear
cl $(CFLAGS) /Fe:$(BIN) src\[email protected] $(LIBS)
@mty
2-threaded: clean clear
cl $(CFLAGS) /Fe:$(BIN) src\[email protected] $(LIBS)
@mty
clean:
@-del /q $(BIN) 2>nul
@-del /q *.obj 2>nul
@-rmdir /s /q test_dir 2>nul
clear:
cls