projects
/
windtk
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
draw window frame
[windtk]
/
Makefile
1
src = $(wildcard src/*.c) example.c
2
obj = $(src:.c=.o)
3
dep = $(src:.c=.d)
4
bin = example
5
6
CFLAGS = -pedantic -Wall -g -Isrc -MMD
7
LDFLAGS = -lGL -lglut
8
9
$(bin): $(obj)
10
$(CC) -o $@ $(obj) $(LDFLAGS)
11
12
-include $(dep)
13
14
.PHONY: clean
15
clean:
16
rm -f $(obj)