Fix ldflags order to please the linux linker

This commit is contained in:
pancake committed 2026-04-21 16:56:48 +02:00
1 parent 3b49a5071f
commit 5c8a642dbe
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ all: $(EXEC)
# Linking the executable
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
$(CC) -o $@ $^ $(LDFLAGS)
# Compiling source files into object files
%.o: %.c