istereo

view Makefile @ 23:e3742aafc85b

oh yeah
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 08 Sep 2011 02:57:29 +0300
parents
children 862a3329a8f0
line source
1 src = $(wildcard src/*.c)
2 obj = $(src:.c=.o)
3 bin = test
5 CC = gcc
6 CFLAGS = -pedantic -Wall -g
7 LDFLAGS = -lGL -lGLU -lglut -lGLEW -lm
9 $(bin): $(obj)
10 $(CC) -o $@ $(obj) $(LDFLAGS)
12 .PHONY: clean
13 clean:
14 rm -f $(obj) $(bin)