aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am41
1 files changed, 4 insertions, 37 deletions
diff --git a/Makefile.am b/Makefile.am
index 0a27d41..6def371 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,40 +1,7 @@
EXTRA_DIST = m4/NOTES
-SUBDIRS =
-if ENABLE_TESTS
- SUBDIRS += tests
-endif
+SUBDIRS = src
ACLOCAL_AMFLAGS = -Im4 --install
-CXXFLAGS =
-if DEBUG
-CXXFLAGS += -ggdb
-else
-CXXFLAGS += -DNDEBUG
-endif
-CXXFLAGS += -O2
-
-bin_PROGRAMS = engine
-
-engine_SOURCES = \
- src/engine.cpp \
- src/renderer.h src/renderer.cpp \
- src/obj_parser.h src/obj_parser.cpp \
- src/fb/fb.h src/fb/chfb.h src/fb/chfb.cpp src/fb/pixfb.h src/fb/pixfb.cpp \
- src/math/vector.h \
- src/math/mat4.h \
- src/math/quat.h \
- src/math/tform.h \
- src/o3d/mesh.h src/o3d/mesh.cpp \
- src/o3d/obj3d.h \
- src/o3d/vertex_data.h \
- src/o3d/vertex.h \
- src/o3d/deriv_vertex.h \
- src/o3d/tri.h \
- src/o3d/tri_deriv.h src/o3d/tri_deriv.cpp \
- src/o3d/camera.h \
- src/o3d/scene.h \
- src/ctrl/keyboard.h \
- src/ctrl/mouse.h
-engine_CPPFLAGS = -std=gnu++23 -Wall -Wextra $(DEPS_CPPFLAGS)
-engine_LDFLAGS = -std=gnu++23 -Wall -Wextra
-engine_LDADD = $(DEPS_LIBS)
+assetsdir = $(datadir)/assets
+assets_DATA = ../assets/suzanne.obj
+EXTRA_DIST += $(assets_DATA)