paysages3d/src/rendering/Makefile

18 lines
481 B
Makefile
Raw Normal View History

include ../common_pre.mk
OBJPATH = ${BUILDPATH}/rendering
RESULT = ${BUILDPATH}/libpaysages_rendering.so
SOURCES += $(wildcard *.c atmosphere/*.c clouds/*.c terrain/*.c textures/*.c water/*.c tools/*.c shared/*.c)
LIBS += glib-2.0 gthread-2.0 IL ILU
CC_FLAGS += -DHAVE_GLIB=1
CC_LDFLAGS += -shared
2013-06-16 17:06:10 +00:00
#CHECK_OPENCL = $(shell pkg-config --modversion --silence-errors OpenCL)
#ifneq (,${CHECK_OPENCL})
# LIBS += OpenCL
# CC_FLAGS += -DHAVE_OPENCL=1
#endif
include ../common_post.mk