istereo

annotate Makefile @ 17:4c20f10a7183

fixed the texture bug
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 07 Sep 2011 09:35:20 +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)