aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-20 20:35:42 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-20 20:35:42 +0100
commitccd5e68160be5037782516253cb9a5ffa4b830a6 (patch)
tree321de4859169fed562f2c8a06b2f1c69dd7400f3 /Makefile.am
parentc5697e42a76142c339806e1c0bc7ed15e3ace548 (diff)
downloadengine-ccd5e68160be5037782516253cb9a5ffa4b830a6.tar.gz
improved file structure for autotools
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 9 insertions, 2 deletions
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