projects
/
termu
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
sortof works
[termu]
/
Makefile
1
src = $(wildcard src/*.c)
2
obj = $(src:.c=.o) src/data.o
3
dep = $(src:.c=.d)
4
bin = termu
5
6
CFLAGS = -pedantic -Wall -g -DMINIGLUT_USE_LIBC -D_XOPEN_SOURCE=500 -MMD
7
LDFLAGS = -lGL -lX11 -lm
8
9
$(bin): $(obj)
10
$(CC) -o $@ $(obj) $(LDFLAGS)
11
12
-include $(dep)
13
14
.PHONY: clean
15
clean:
16
rm -f $(obj) $(bin)
17
18
.PHONY: cleandep
19
cleandep:
20
rm -f $(dep)