aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-06-20 00:45:25 +0900
committerTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-06-20 00:45:25 +0900
commit5aafe9fe26debd5e354330fc4e85b7ebff22c19e (patch)
treea82ba54cb537f1090db701f641c703feac1be335 /src
parentb01a9f2f3e8b68a9b132287b63e87e18ae837153 (diff)
Integrate the raylib display to the build system
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
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