-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject.mk
More file actions
50 lines (40 loc) · 1.07 KB
/
project.mk
File metadata and controls
50 lines (40 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
L = lib
LIB_TARGET =
EXEC_TARGET = humangl
SRC = $S/main.cpp \
$S/HumanGL.cpp \
$S/InitBobby.cpp \
$S/InitBobbyPlus.cpp \
$S/InitRoundy.cpp \
$S/InitRoundyPlus.cpp \
$S/Bindings.cpp \
$S/UI/InitUI.cpp \
$S/UI/TransformPannel.cpp \
$S/UI/ModelPannel.cpp \
$S/UI/AnimationListPannel.cpp \
$S/UI/AnimationPannel.cpp \
CC = clang++ --std=c++20
CPPFLAGS = -O3 -flto
LDFLAGS = -lGL $(shell pkg-config sdl2 --libs --static)
INCLUDE =
LIB_MOD = notrealengine
CMAKE_LIB_MOD = SDL
ifeq ($(CUSTOM_LIBS), 1)
notrealengine_LIB = libnre.a
else
notrealengine_LIB = libnre-external.a
CMAKE_LIB_MOD += assimp freetype
CPPFLAGS += -D USING_EXTERNAL_LIBS
LDFLAGS += $(shell pkg-config libpng freetype2 --libs --static) -lharfbuzz
endif
notrealengine_INC = inc inc/notrealengine
SDL_DIR = lib/notrealengine/lib/SDL
SDL_LIB = libSDL2.a
SDL_INC = include
assimp_DIR = lib/notrealengine/lib/assimp
assimp_LIB = lib/libassimp.a
assimp_INC = include build/include
freetype_DIR = lib/notrealengine/lib/freetype
freetype_LIB = libfreetype.a
freetype_INC = include
LDFLAGS +=