From 8b007445198e9d25b6283ded647586d0e0486220 Mon Sep 17 00:00:00 2001 From: basicallygit <91993321+basicallygit@users.noreply.github.com> Date: Thu, 20 Nov 2025 22:03:32 +0000 Subject: oh ya also mark make options as PHONY --- makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index 2e82331..2dcdf4c 100644 --- a/makefile +++ b/makefile @@ -28,11 +28,13 @@ else CFLAGS += -fPIC endif +.PHONY: all all: $(TARGET) release: CFLAGS += -O3 release: all +.PHONY: install install:: mkdir $(INSTALL)$(install_version) -p cp $(TARGET) $(INSTALL)$(install_version)/$(TARGET) @@ -68,5 +70,8 @@ reg: all $(TARGET): $(OBJS) $(LINKER) $(OBJS) -o $(TARGET) $(LFLAGS) +.PHONY: clean clean: rm -f $(OBJS) + + -- cgit v1.2.3