grav

view Makefile @ 1:3d541da6e48c

lalalala
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 23 May 2014 18:27:42 +0300
parents
children
line source
1 src = $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
3 bin = grav
5 CXXFLAGS = -pedantic -Wall -g
6 LDFLAGS = -lGL -lGLU -lglut -lm -lvmath
8 $(bin): $(obj)
9 $(CXX) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)