From 2833a70a36efc29ba89bd979d941102ba5436d17 Mon Sep 17 00:00:00 2001 From: Sami Ahmed Date: Mon, 23 Mar 2026 18:15:54 -0700 Subject: [PATCH] Fix Linux CI: default make target was 'obj' dir instead of 'trianglesd' mkdir -p obj before make caused 'obj' (first rule) to be the default target. Moved 'all: trianglesd' above directory rules and added explicit target to CI build step. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/build-all.yml | 2 +- src/makefile.unix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 4f3177b..0c78891 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -181,7 +181,7 @@ jobs: run: | cd src mkdir -p obj - make -f makefile.unix -j$(nproc) + make -f makefile.unix trianglesd -j$(nproc) - name: Strip binary run: strip --strip-all src/trianglesd diff --git a/src/makefile.unix b/src/makefile.unix index 744b505..e01f387 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -199,14 +199,14 @@ ifdef USE_ZMQ OBJS += obj/zmqpublishnotifier.o endif +all: trianglesd + obj: @mkdir -p obj obj-test: @mkdir -p obj-test -all: trianglesd - test check: test_triangles FORCE ./test_triangles