blob: 5a3b41d8152b899fc627efaebd3c8cbf93e0cb25 (
plain) (
blame)
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
|
bin_PROGRAMS = engine
engine_SOURCES = \
engine.cpp \
renderer.h renderer.cpp \
obj_parser.h obj_parser.cpp \
fb/fb.h fb/chfb.h fb/chfb.cpp fb/pixfb.h fb/pixfb.cpp \
math/vector.h \
math/mat4.h \
math/quat.h \
math/tform.h \
o3d/mesh.h o3d/mesh.cpp \
o3d/obj3d.h \
o3d/vertex_data.h \
o3d/vertex.h \
o3d/deriv_vertex.h \
o3d/tri.h \
o3d/tri_deriv.h o3d/tri_deriv.cpp \
o3d/camera.h \
o3d/scene.h \
ctrl/keyboard.h \
ctrl/mouse.h
engine_CPPFLAGS = -std=gnu++23 -Wall -Wextra
engine_LDFLAGS = -std=gnu++23 -Wall -Wextra
engine_CPPFLAGS += -DDATADIR='"$(datadir)"'
# Not sure why they are needed
engine_LDADD =# -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
engine_CPPFLAGS += $(GLFW3_CFLAGS)
engine_LDADD += $(GLFW3_LIBS)
engine_CPPFLAGS += $(VULKAN_CFLAGS)
engine_LDADD += $(VULKAN_LIBS)
if HAVE_NCURSES
engine_CPPFLAGS += $(NCURSES_CFLAGS)
engine_LDADD += $(NCURSES_LIBS)
endif
|