Michaël Lemaire
72d1791718
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@549 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
17 lines
469 B
Makefile
17 lines
469 B
Makefile
include ../common_pre.mk
|
|
|
|
OBJPATH = ${BUILDPATH}/lib_paysages
|
|
RESULT = ${BUILDPATH}/libpaysages.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
|
|
|
|
CHECK_OPENCL = $(shell pkg-config --modversion --silence-errors OpenCL)
|
|
ifneq (,${CHECK_OPENCL})
|
|
LIBS += OpenCL
|
|
CC_FLAGS += -DHAVE_OPENCL=1
|
|
endif
|
|
|
|
include ../common_post.mk
|