imtk
view Makefile @ 13:9c7987064bb0
- fixed the frame drawing a bit
- added global alpha value and various drawing parameters
- backported the checkbox check mark from glamtk
- fixed progress bar drawing so that the bevels of the trough and the bar won't overlap
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Mon, 18 Apr 2011 06:15:46 +0300 |
parents | b04d49e4599c |
children | df2bc9406561 |
line source
1 src = $(wildcard *.c src/*.c)
2 obj = $(src:.c=.o)
3 bin = test
5 CC = gcc
6 CFLAGS = -pedantic -Wall -g -Isrc
7 LDFLAGS = $(libgl)
9 ifeq ($(shell uname -s), Darwin)
10 libgl = -framework OpenGL -framework GLUT
11 else
12 libgl = -lGL -lGLU -lglut
13 endif
15 $(bin): $(obj)
16 $(CC) -o $@ $(obj) $(LDFLAGS)
18 .PHONY: clean
19 clean:
20 rm -f $(obj) $(bin)