grav
annotate Makefile @ 0:68db0e456733
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 23 May 2014 03:13:47 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 src = $(wildcard src/*.cc) |
nuclear@0 | 2 obj = $(src:.cc=.o) |
nuclear@0 | 3 bin = grav |
nuclear@0 | 4 |
nuclear@0 | 5 CXXFLAGS = -pedantic -Wall -g |
nuclear@0 | 6 LDFLAGS = -lGL -lGLU -lglut -lm -lvmath |
nuclear@0 | 7 |
nuclear@0 | 8 $(bin): $(obj) |
nuclear@0 | 9 $(CXX) -o $@ $(obj) $(LDFLAGS) |
nuclear@0 | 10 |
nuclear@0 | 11 .PHONY: clean |
nuclear@0 | 12 clean: |
nuclear@0 | 13 rm -f $(obj) $(bin) |