From 5aafe9fe26debd5e354330fc4e85b7ebff22c19e Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Thu, 20 Jun 2024 00:45:25 +0900 Subject: Integrate the raylib display to the build system --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 88d970c..a2817d3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,9 +1,12 @@ bin_PROGRAMS = calculer AM_CFLAGS = -Wall -Wextra AM_LDFLAGS = -calculer_SOURCES = calculer.c +calculer_SOURCES = calculer.c disp.c if DEBUG_COND +noinst_LTLIBRARIES = ray.la +ray_la_SOURCES = ray.c +ray_la_LDFLAGS = -module -rpath @abs_srcdir@ -lraylib else AM_CFLAGS += -DNDEBUG -Wno-unused-variable endif -- cgit v1.2.3