gameui

annotate Makefile @ 2:e5b1525084f7

boolanim
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 20 Mar 2014 07:03:58 +0200
parents
children f1014234dece
rev   line source
nuclear@0 1 src = test.cc $(wildcard src/*.cc)
nuclear@0 2 obj = $(src:.cc=.o)
nuclear@0 3
nuclear@0 4 bin = test
nuclear@0 5
nuclear@0 6 CFLAGS = -pedantic -Wall -g -Iinclude
nuclear@0 7 CXXFLAGS = $(CFLAGS)
nuclear@0 8 LDFLAGS = -lGL -lGLU -lglut
nuclear@0 9
nuclear@0 10 $(bin): $(obj)
nuclear@0 11 $(CXX) -o $@ $(obj) $(LDFLAGS)
nuclear@0 12
nuclear@0 13 .PHONY: clean
nuclear@0 14 clean:
nuclear@0 15 rm -f $(obj) $(bin)