commit: 29896a2e0f8fe42564d4eb949d6e874b69fa3a56
parent 140130846fc268ebe98a89a9cabe49052b2e96fa
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 1 Dec 2020 04:42:08 +0100
Makefile: Fix flags ordering
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -30,10 +30,10 @@ WAYLAND_SCANNER=`pkg-config --variable=wayland_scanner wayland-scanner`
all: xdg-shell-protocol.c $(EXE) $(TRANS)
inaban: inaban.c inaban.h config.h
- $(CC) -std=c99 $(CFLAGS) $(CDEPS) $(LDFLAGS) $(LIBS) -o $@ $<
+ $(CC) -std=c99 $(CFLAGS) $(CDEPS) -o $@ $< $(LDFLAGS) $(LIBS)
.c:
- $(CC) -std=c99 $(CFLAGS) $(CDEPS) $(LDFLAGS) $(LIBS) -o $@ $<
+ $(CC) -std=c99 $(CFLAGS) $(CDEPS) -o $@ $< $(LDFLAGS) $(LIBS)
.c.o:
$(CC) -std=c99 $(CFLAGS) $(CDEPS) -c -o $@ $<