istereo
view Makefile @ 35:23e5d274b2a2
added options panel, also added the xib files to the repository as they're needed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 09 Sep 2011 10:03:42 +0300 |
parents | 4d25539806d2 |
children |
line source
1 src = $(wildcard src/*.c)
3 obj = $(src:.c=.o)
4 dep = $(obj:.o=.d)
5 bin = test
7 CC = gcc
8 CFLAGS = -pedantic -Wall -g $(incdir)
9 LDFLAGS = -lGL -lGLU -lglut -lGLEW -lm
11 include libs/Makefile
13 $(bin): $(obj)
14 $(CC) -o $@ $(obj) $(LDFLAGS)
16 -include $(dep)
18 %.d: %.c
19 @$(CPP) $(CFLAGS) -MM -MT $(@:.d=.o) $< >$@
22 .PHONY: clean
23 clean:
24 rm -f $(obj) $(bin)
26 .PHONY: cleandep
27 cleandep:
28 rm -f $(dep)