From c4fc4b2a65fc3e3913ce7c28d65bd19cb0f4be60 Mon Sep 17 00:00:00 2001 From: rendo Date: Tue, 10 Mar 2026 09:02:44 +0500 Subject: [PATCH] Initial commit --- .gitignore | 2 ++ compiler_flags.txt | 2 ++ main.cpp | 3 +++ makefile | 8 ++++++++ 4 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 compiler_flags.txt create mode 100644 main.cpp create mode 100644 makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc84959 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build/ + diff --git a/compiler_flags.txt b/compiler_flags.txt new file mode 100644 index 0000000..66713b8 --- /dev/null +++ b/compiler_flags.txt @@ -0,0 +1,2 @@ +-Wall +-lraylib diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..cb3f748 --- /dev/null +++ b/main.cpp @@ -0,0 +1,3 @@ +int main() { + return 0; +} diff --git a/makefile b/makefile new file mode 100644 index 0000000..36263c7 --- /dev/null +++ b/makefile @@ -0,0 +1,8 @@ +CFLAGS=$(cat compiler_flags.txt//"\n"/" ") + +build/raylib-test-linux.x86_64 : main.cpp + mkdir -p build + clang main.cpp $(CFLAGS) -o build/raylib-test-linux.x86_64 + +clean : + rm -r build/*