From 9dbcbc62a2b0cbcc3400656d16b11b6ebcddd893 Mon Sep 17 00:00:00 2001 From: Ty3r0X Date: Sun, 17 Dec 2023 21:11:39 +0200 Subject: [PATCH] Implemented caskd's fix for the Makefile Argument order matters, and in some systems it ain't compiling, so this is set in place just for that. Kudos to @casKd-dev --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5076965..8eaf384 100644 --- a/Makefile +++ b/Makefile @@ -5,13 +5,13 @@ OBJ := $(SRC:.c=.o) all: $(OBJ) $(OUT) %.o: %.c - $(CC) -o $@ -c $(CFLAGS) $< + $(CC) $< -c $(CFLAGS) -o "$@" clean: rm -f $(OBJ) $(OUT) ifneq ($(OUT),) $(OUT): $(OBJ) - $(CC) -o "$@" $(LDFLAGS) $^ + $(CC) $^ $(LDFLAGS) -o "$@" endif .PHONY: all clean