istereo

annotate Makefile @ 3:2c5620f0670c

trying to make this piece of crap work
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 07 Sep 2011 05:33:19 +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)