mirror of
https://github.com/libretro/libretro-3dengine.git
synced 2026-11-13 20:14:40 -10:00
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
DEPS_DIR := $(CORE_DIR)/deps
|
|
|
|
INCFLAGS += -I$(CORE_DIR) \
|
|
-I$(CORE_DIR)/utils \
|
|
-I$(CORE_DIR)/helpers \
|
|
-I$(CORE_DIR)/include \
|
|
-I$(CORE_DIR)/libretro-common/include \
|
|
-I$(DEPS_DIR)/zlib
|
|
|
|
SOURCES_CXX := $(CORE_DIR)/engine/mesh.cpp \
|
|
$(CORE_DIR)/engine/texture.cpp \
|
|
$(CORE_DIR)/engine/object.cpp \
|
|
$(CORE_DIR)/engine/shader.cpp \
|
|
$(CORE_DIR)/helpers/collision_detection.cpp \
|
|
$(CORE_DIR)/program/instancingviewer.cpp \
|
|
$(CORE_DIR)/program/modelviewer.cpp \
|
|
$(CORE_DIR)/libretro.cpp
|
|
SOURCES_C := $(CORE_DIR)/utils/rpng.c \
|
|
$(CORE_DIR)/utils/picojpeg.c \
|
|
$(CORE_DIR)/helpers/location_math.c \
|
|
$(CORE_DIR)/utils/picojpeg-util.c
|
|
SOURCES_C += $(CORE_DIR)/libretro-common/glsym/rglgen.c
|
|
ifeq ($(GLES),1)
|
|
SOURCES_C += $(CORE_DIR)/libretro-common/glsym/glsym_es2.c
|
|
else
|
|
SOURCES_C += $(CORE_DIR)/libretro-common/glsym/glsym_gl.c
|
|
endif
|
|
|
|
ifeq ($(HAVE_VULKAN),1)
|
|
SOURCES_C += $(CORE_DIR)/libretro-common/vulkan/vulkan_symbol_wrapper.c
|
|
SOURCES_CXX += $(CORE_DIR)/engine/vk_renderer.cpp
|
|
endif
|
|
|
|
ifneq ($(STATIC_LINKING), 1)
|
|
#include zlib
|
|
SOURCES_C += $(DEPS_DIR)/zlib/adler32.c \
|
|
$(DEPS_DIR)/zlib/compress.c \
|
|
$(DEPS_DIR)/zlib/crc32.c \
|
|
$(DEPS_DIR)/zlib/deflate.c \
|
|
$(DEPS_DIR)/zlib/gzclose.c \
|
|
$(DEPS_DIR)/zlib/gzlib.c \
|
|
$(DEPS_DIR)/zlib/gzread.c \
|
|
$(DEPS_DIR)/zlib/gzwrite.c \
|
|
$(DEPS_DIR)/zlib/inffast.c \
|
|
$(DEPS_DIR)/zlib/inflate.c \
|
|
$(DEPS_DIR)/zlib/inftrees.c \
|
|
$(DEPS_DIR)/zlib/trees.c \
|
|
$(DEPS_DIR)/zlib/uncompr.c \
|
|
$(DEPS_DIR)/zlib/zutil.c
|
|
endif
|
|
|
|
SOURCES_CXX += $(CORE_DIR)/utils/rtga.cpp
|