projects
/
o2demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[o2demo]
/
Makefile
1
src = $(wildcard src/*.c) $(wildcard src/parts/*.c)
2
obj = $(src:.c=.o)
3
bin = demo
4
5
CFLAGS = -pedantic -Wall -g -Isrc -I/usr/local/include
6
LDFLAGS = -L/usr/local/lib $(libgl) -lm -limago
7
8
libgl = -lGL -lGLU -lglut
9
10
$(bin): $(obj)
11
$(CC) -o $@ $(obj) $(LDFLAGS)
12
13
.PHONY: clean
14
clean:
15
rm -f $(obj) $(bin)