projects
/
dosdemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
started ropesim tool
[dosdemo]
/
tools
/
ropesim
/
Makefile
1
src = $(wildcard src/*.c)
2
obj = $(src:.c=.o)
3
bin = ropesim
4
5
def = -DUSE_ASSIMP
6
warn = -pedantic -Wall -Wno-int-to-pointer-cast
7
8
CFLAGS = $(warn) -g $(def)
9
LDFLAGS = $(libgl) -lm -lassimp
10
11
libgl = -lGL -lGLU -lglut
12
13
$(bin): $(obj)
14
$(CC) -o $@ $(obj) $(LDFLAGS)
15
16
.PHONY: clean
17
clean:
18
rm -f $(obj) $(bin)