From a2d05b94b5aa8efa750a924cdbb3ea575fd51455 Mon Sep 17 00:00:00 2001 From: nub31 Date: Wed, 22 Oct 2025 13:43:09 +0200 Subject: [PATCH] remove makefiles --- examples/hello-world/build.sh | 6 ++++++ examples/hello-world/makefile | 5 ----- examples/raylib/build.sh | 6 ++++++ examples/raylib/makefile | 5 ----- 4 files changed, 12 insertions(+), 10 deletions(-) create mode 100755 examples/hello-world/build.sh delete mode 100644 examples/hello-world/makefile create mode 100755 examples/raylib/build.sh delete mode 100644 examples/raylib/makefile diff --git a/examples/hello-world/build.sh b/examples/hello-world/build.sh new file mode 100755 index 0000000..95b00b2 --- /dev/null +++ b/examples/hello-world/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -euo pipefail + +obj=$(nubc main.nub) +clang $obj -o .build/out \ No newline at end of file diff --git a/examples/hello-world/makefile b/examples/hello-world/makefile deleted file mode 100644 index 112f768..0000000 --- a/examples/hello-world/makefile +++ /dev/null @@ -1,5 +0,0 @@ -.build/out: main.nub - clang $$(nubc main.nub) -o .build/out - -clean: - @rm -r .build 2>/dev/null || true diff --git a/examples/raylib/build.sh b/examples/raylib/build.sh new file mode 100755 index 0000000..e94f583 --- /dev/null +++ b/examples/raylib/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -euo pipefail + +obj=$(nubc main.nub generated/raylib.nub) +clang $obj raylib-5.5_linux_amd64/lib/libraylib.a -lm -o .build/out \ No newline at end of file diff --git a/examples/raylib/makefile b/examples/raylib/makefile deleted file mode 100644 index 8f66012..0000000 --- a/examples/raylib/makefile +++ /dev/null @@ -1,5 +0,0 @@ -.build/out: main.nub generated/raylib.nub - clang $$(nubc main.nub generated/raylib.nub) raylib-5.5_linux_amd64/lib/libraylib.a -lm -o .build/out - -clean: - @rm -r .build 2>/dev/null || true