From c74e7f60c46c8e39e4c3633077d3992e653849c4 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 20 Jul 2021 11:39:39 +0200 Subject: Makefile: fix linking flag order --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18ef85f..341c757 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ OBJS = basis.o \ all: $(TARGET) $(TARGET): $(OBJS) - $(CC) ${LDFLAGS} -o $@ $(OBJS) + $(CC) -o $@ $(OBJS) ${LDFLAGS} %.o: %.c $(CC) $(CFLAGS) -MMD -MF $(@:.o=.d) -MT $@ -c -o $@ $< -- cgit v1.2.3