clray
annotate Makefile @ 3:88ac4eb2d18a
added OpenGL display of the framebuffer
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 13 Jul 2010 03:38:29 +0300 |
parents | 5767277e049f |
children | deaf85acf6af |
rev | line source |
---|---|
nuclear@0 | 1 src = $(wildcard src/*.cc) |
nuclear@0 | 2 obj = $(src:.cc=.o) |
nuclear@0 | 3 bin = test |
nuclear@0 | 4 |
nuclear@0 | 5 CXX = g++ |
nuclear@0 | 6 CXXFLAGS = -pedantic -Wall -g |
nuclear@3 | 7 LDFLAGS = -framework OpenGL -framework GLUT -framework OpenCL |
nuclear@0 | 8 |
nuclear@0 | 9 $(bin): $(obj) |
nuclear@0 | 10 $(CXX) -o $@ $(obj) $(LDFLAGS) |
nuclear@0 | 11 |
nuclear@0 | 12 .PHONY: clean |
nuclear@0 | 13 clean: |
nuclear@0 | 14 rm -f $(obj) $(bin) |