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