projects
/
miniglut
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
win32 support for multisampling and sRGB
[miniglut]
/
Makefile.wat
1
obj = test.obj miniglut.obj
2
bin = test.exe
3
4
CC = wcc386
5
LD = wlink
6
CFLAGS = -d3 -6r -otexan -zq -bt=nt
7
LDFLAGS = system nt library { opengl32 winmm }
8
9
$(bin): $(obj)
10
$(LD) name $@ debug all file { $(obj) } $(LDFLAGS)
11
12
.c.obj: .autodepend
13
$(CC) -fo=$@ $(CFLAGS) $[*
14
15
!ifdef __UNIX__
16
clean: .symbolic
17
rm -f $(obj) $(bin)
18
!else
19
clean: .symbolic
20
del $(obj)
21
del $(bin)
22
!endif