Refactor "RUST_SOURCES" variable in Makefile

This commit is contained in:
Stephen Seo 2024-09-19 14:13:27 +09:00
parent d231859fe2
commit 9aba9942f6

View file

@ -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