From 3ef1233ee57e97767ec65c48a6aa16578849fcc3 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Sat, 21 Sep 2024 00:55:27 -0400 Subject: [PATCH] Finally fixed makefile not rebuilding haloo3d --- Makefile | 3 ++- camera.h => old/camera.h | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename camera.h => old/camera.h (100%) diff --git a/Makefile b/Makefile index 33efc97..2763505 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ endif HALOOLIB = haloo3d/build/haloo3d_full.a UNIGIPLAT = $(BUILDD)/unigi.platform.sdl2.o UNIGILIB = $(BUILDD)/unigi.a +ALLH3DFILES = haloo3d/*.c haloo3d/*.h .PHONY: clean .PHONY: libs @@ -30,7 +31,7 @@ UNIGILIB = $(BUILDD)/unigi.a libs: $(UNIGILIB) $(HALOOLIB) @echo "Built libs!" -$(HALOOLIB): +$(HALOOLIB): $(ALLH3DFILES) cd haloo3d && $(MAKE) full $(UNIGIPLAT): unigi.platform.sdl2/main.c diff --git a/camera.h b/old/camera.h similarity index 100% rename from camera.h rename to old/camera.h