projects
/
miniglut
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
primitives
[miniglut]
/
Makefile
1
src = miniglut.c test.c
2
obj = $(src:.c=.o)
3
bin = test
4
5
CFLAGS = -pedantic -Wall -g -DMINIGLUT_USE_LIBC
6
LDFLAGS = -lX11 -lGL -lm
7
8
$(bin): $(obj)
9
$(CC) -o $@ $(obj) $(LDFLAGS)
10
11
.PHONY: clean
12
clean:
13
rm -f $(obj) $(bin)