projects
/
clinfo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Version 2.1.15.11.17
[clinfo]
/
Makefile
1
SRCDIR=src
2
3
VPATH=$(SRCDIR)
4
5
HDR=$(wildcard $(SRCDIR)/*.h)
6
7
PLATFORM=$(shell uname -s)
8
9
ifeq ($(PLATFORM),Darwin)
10
LDLIBS=-framework OpenCL
11
else
12
LDLIBS=-lOpenCL
13
endif
14
15
CFLAGS+=-std=c99 -g -Wall -Wextra
16
17
clinfo:
18
19
clinfo.o: clinfo.c $(HDR)
20
21
clean:
22
$(RM) clinfo.o clinfo