grav

view Makefile @ 0:68db0e456733

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 23 May 2014 03:13:47 +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)