istereo

annotate Makefile @ 1:4d25539806d2

bollocks
author John Tsiombikas <nuclear@mutantstargoat.com>
date Tue, 06 Sep 2011 12:48:39 +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)