start by copying windtk and dropping dirty rects and indexed colors
[anigui] / Makefile
1 src = test.c $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 dep = $(src:.c=.d)
4 bin = test
5
6 CFLAGS = -pedantic -Wall -Isrc -MMD
7 LDFLAGS = -lGL -lGLU -lglut
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)