clray

view 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
line source
1 src = $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
3 bin = test
5 CXX = g++
6 CXXFLAGS = -pedantic -Wall -g
7 LDFLAGS = -framework OpenGL -framework GLUT -framework OpenCL
9 $(bin): $(obj)
10 $(CXX) -o $@ $(obj) $(LDFLAGS)
12 .PHONY: clean
13 clean:
14 rm -f $(obj) $(bin)