gameui
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Mon Feb 24 22:25:49 2014 +0200 1.3 @@ -0,0 +1,15 @@ 1.4 +src = test.cc $(wildcard src/*.cc) 1.5 +obj = $(src:.cc=.o) 1.6 + 1.7 +bin = test 1.8 + 1.9 +CFLAGS = -pedantic -Wall -g -Iinclude 1.10 +CXXFLAGS = $(CFLAGS) 1.11 +LDFLAGS = -lGL -lGLU -lglut 1.12 + 1.13 +$(bin): $(obj) 1.14 + $(CXX) -o $@ $(obj) $(LDFLAGS) 1.15 + 1.16 +.PHONY: clean 1.17 +clean: 1.18 + rm -f $(obj) $(bin)