summaryrefslogtreecommitdiff
path: root/progs/demos/Makefile
blob: db985b69024e84961502ffa94aa6cc33a3ed6570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

PROGS = gears \
	glinfo \
	texobj \
	bounce \
	terrain


##### RULES #####

.SUFFIXES:
.SUFFIXES: .c


# make executable from .c file:
.c: $(LIB_DEP)
	gcc -I../include -I../util -g $< -L../lib -lglut -lGL -lm -o $@


default: $(PROGS)


clean:
	-rm *.o *~