From 9aba9942f644b1449157a8e6317eb6549bac0333 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 19 Sep 2024 14:13:27 +0900 Subject: [PATCH] Refactor "RUST_SOURCES" variable in Makefile --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 90a4e64..530bec7 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,7 @@ CFLAGS := \ HEADERS := \ rust_src/include/rust_src.h -RUST_SOURCES := \ - rust_src/src/lib.rs \ - rust_src/src/ffi_raylib.rs +RUST_SOURCES := $(shell find rust_src/src/ -regex '.*\.rs$$') all: dist/my_project.html