File mingw64-fosphor-makefile.diff of Package mingw64-gr-fosphor
diff --git a/lib/fosphor/Makefile b/lib/fosphor/Makefile index a8fb3bb..945b3ca 100644 --- a/lib/fosphor/Makefile +++ b/lib/fosphor/Makefile @@ -1,16 +1,17 @@ UNAME=$(shell uname) -CC=gcc -CFLAGS=-Wall -Werror -O2 `pkg-config freetype2 glfw3 --cflags` -g -LDLIBS=`pkg-config freetype2 glfw3 --libs` -lm +#CC=gcc +CFLAGS=-Wall -O2 `pkg-config freetype2 glfw3 --cflags` -g +LDLIBS=`pkg-config freetype2 glfw3 --libs` -lm -ldl -lopengl32 -llibglew32 -lOpenCL +#LDLIBS=`pkg-config freetype2 glfw3 --libs` -lm -ldl -lOpenCL -lopengl32 -llibglew32 ifneq ($(AMDAPPSDKROOT), ) CFLAGS+=-I$(AMDAPPSDKROOT)/include endif -ifeq ($(UNAME), Linux) -LDLIBS+=-lOpenCL -lGL -ldl -endif -ifeq ($(UNAME), Darwin) -LDLIBS+=-framework OpenCL -framework OpenGL -framework Cocoa -framework IOKit -endif +#ifeq ($(UNAME), Linux) +#LDLIBS+=-lOpenCL -ldl -lopengl32 +#endif +#ifeq ($(UNAME), Darwin) +#LDLIBS+=-framework OpenCL -framework OpenGL -framework Cocoa -framework IOKit +#endif LDFLAGS=-g RESOURCE_FILES=fft.cl display.cl cmap_simple.glsl cmap_bicubic.glsl cmap_fallback.glsl DroidSansMonoDotted.ttf