Skip to content

Commit

Permalink
Merge pull request #3 from szagoruyko/master
Browse files Browse the repository at this point in the history
Fix flags in Makefile
  • Loading branch information
simleb committed Apr 16, 2015
2 parents 8ddd327 + beb0c04 commit 3abd53d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -15,13 +15,13 @@

EXEC = clinfo

CFLAGS = -Wall -O3
CFLAGS = -Wall -O3 -std=c99
LDFLAGS =

ifeq ($(shell uname),Darwin)
LDFLAGS += -framework OpenCL
else
LDFLAGS += -lopencl
LDFLAGS += -lOpenCL -lm
endif

prefix = /usr/local
Expand Down

0 comments on commit 3abd53d

Please sign in to comment.