istereo

view Makefile @ 11:698cbf1a1b97

foo
author John Tsiombikas <nuclear@mutantstargoat.com>
date Wed, 07 Sep 2011 08:25:56 +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)