gameui

view Makefile @ 0:3aa12cdb9925

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 24 Feb 2014 22:25:49 +0200
parents
children f1014234dece
line source
1 src = test.cc $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
4 bin = test
6 CFLAGS = -pedantic -Wall -g -Iinclude
7 CXXFLAGS = $(CFLAGS)
8 LDFLAGS = -lGL -lGLU -lglut
10 $(bin): $(obj)
11 $(CXX) -o $@ $(obj) $(LDFLAGS)
13 .PHONY: clean
14 clean:
15 rm -f $(obj) $(bin)