modularity problem

This commit is contained in:
Rendo 2026-03-10 15:20:40 +05:00
commit b628beafb9
4 changed files with 74 additions and 57 deletions

View file

@ -1,8 +1,9 @@
CFLAGS=$(shell cat compiler_flags.txt)
FILES=$(wildcard src/*.cpp)
build/raylib-test-linux.x86_64 : src/main.cpp
build/raylib-test-linux.x86_64 : $(FILES)
mkdir -p build
clang src/main.cpp $(CFLAGS) -o build/raylib-test-linux.x86_64
clang $(FILES) $(CFLAGS) -o build/raylib-test-linux.x86_64
clean :