From ccd5e68160be5037782516253cb9a5ffa4b830a6 Mon Sep 17 00:00:00 2001 From: vimene Date: Mon, 20 Nov 2023 20:35:42 +0100 Subject: improved file structure for autotools --- Makefile.am | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index c6231c2..8ca5991 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,9 @@ -SUBDIRS = src -dist_doc_DATA = README.md +ACLOCAL_AMFLAGS = -Im4 --install + +AM_CPPFLAGS = $(SDL2_CFLAGS) + +bin_PROGRAMS = main +main_SOURCES = src/chfb.cpp src/chfb.h src/main.cpp src/math_vector.cpp src/math_vector.h src/obj3d.cpp src/obj3d.h src/pixfb.cpp src/pixfb.h src/tri_vertex.cpp src/tri_vertex.h src/vertex.cpp src/vertex_data.cpp src/vertex_data.h src/vertex.h +main_LDADD = $(SDL2_LIBS) + +EXTRA_DIST = m4/NOTES -- cgit v1.2.3