From 8bfacabcd072c1a75eeee0ade888f84ed969aeb3 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sun, 11 Feb 2024 22:19:27 +0100 Subject: [PATCH] biggest change ever --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c794587..0dcb3dd 100644 --- a/Makefile +++ b/Makefile @@ -27,13 +27,13 @@ dirs: mkdir -p $(BIN) $(NAME): $(OBJ) - $(CC) -o $(BIN)/$@ $(addprefix $(BIN)/, $^) $(LDFLAGS) + $(CC) $(addprefix $(BIN)/, $^) $(LDFLAGS) -o $(BIN)/$@ %.so: modules/%.c $(LIB) - $(CC) -o $(BIN)/$@ $^ -shared -fPIC $(CFLAGS) $(LDFLAGS) + $(CC) $^ -shared -fPIC $(CFLAGS) $(LDFLAGS) -o $(BIN)/$@ %.o: %.c - $(CC) -o $(BIN)/$@ -c $< $(CFLAGS) + $(CC) -c $< $(CFLAGS) -o $(BIN)/$@ clean: clean_modules rm -rf $(addprefix $(BIN)/, $(OBJ))