istereo

annotate Makefile @ 23:e3742aafc85b

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