Initial Commit
This commit is contained in:
20
lib/borealis/library/borealis.mk
Normal file
20
lib/borealis/library/borealis.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
current_dir := $(BOREALIS_PATH)/$(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
|
||||
|
||||
LIBS := -lglfw3 -lEGL -lglad -lglapi -ldrm_nouveau -lm $(LIBS)
|
||||
|
||||
# fmt wrapper is there because dkp's base
|
||||
# makefile doesn't recognize .cc files as c++
|
||||
|
||||
SOURCES := $(SOURCES) \
|
||||
$(current_dir)/lib \
|
||||
$(current_dir)/lib/extern/nanovg \
|
||||
$(current_dir)/lib/extern/libretro-common/compat \
|
||||
$(current_dir)/lib/extern/libretro-common/encodings \
|
||||
$(current_dir)/lib/extern/libretro-common/features \
|
||||
$(current_dir)/lib/extern/nxfmtwrapper
|
||||
|
||||
INCLUDES := $(INCLUDES) \
|
||||
$(current_dir)/include \
|
||||
$(current_dir)/lib/extern/fmt/include \
|
||||
$(current_dir)/include/borealis/extern
|
||||
Reference in New Issue
Block a user