Makefile 269 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TARGET = clfft_example

CXXFLAGS += -O3 -Wall -g -I../include
LDFLAGS += ../lib/libclfft.a

OS = $(shell uname -s)
ifeq ($(OS), Darwin)
	LDFLAGS += -framework OpenCL
endif


$(TARGET): main.cpp
	g++ $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) main.cpp

clean:
	rm -f $(TARGET)