fosphor: Add AMD include path to the standalone benchmark tool Makefile
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
5229e996b1
commit
4f102ee334
|
@ -2,6 +2,9 @@ UNAME=$(shell uname)
|
|||
CC=gcc
|
||||
CFLAGS=-Wall -Werror -O2 `pkg-config freetype2 glfw3 --cflags` -g
|
||||
LDLIBS=`pkg-config freetype2 glfw3 --libs` -lm
|
||||
ifneq ($(AMDAPPSDKROOT), )
|
||||
CFLAGS+=-I$(AMDAPPSDKROOT)/include
|
||||
endif
|
||||
ifeq ($(UNAME), Linux)
|
||||
LDLIBS+=-lOpenCL -lGL
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue