projects
/
voxscape
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
adjust fov on aspect change
[voxscape]
/
Makefile
1
src = $(wildcard src/*.c)
2
obj = $(src:.c=.o)
3
dep = $(src:.c=.d)
4
bin = voxscape
5
6
warn = -pedantic -Wall
7
#opt = -O3
8
dbg = -g
9
incdir = -I.
10
11
CFLAGS = $(warn) $(opt) $(dbg) -MMD $(incdir)
12
LDFLAGS = -lGL -lglut -lm -limago
13
14
$(bin): $(obj)
15
$(CC) -o $@ $(obj) $(LDFLAGS)
16
17
-include $(dep)
18
19
.PHONY: clean
20
clean:
21
rm -f $(obj) $(bin)
22
23
.PHONY: cleandep
24
cleandep:
25
rm -f $(dep)