From f5d3ddcdaf87b422a02b4bfffe4ba1b299e61e73 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 28 Mar 2019 21:58:56 +0100 Subject: Makefile: fix CC argument ordering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From POSIX manpages: c99 [options...] pathname [[pathname] [−I directory] [−L directory] [−l library]]... --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1157017..b631eee 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ PREFIX = /usr/local DEPS = gtk+-3.0 webkit2gtk-4.0 OBJS = badwolf -CC = cc -std=c11 +CC = cc CFLAGS = -g -Wall -Wextra CDEPS = `pkg-config --cflags $(DEPS)` LIBS = `pkg-config --libs $(DEPS)` @@ -13,7 +13,7 @@ LIBS = `pkg-config --libs $(DEPS)` all: $(OBJS) .c: - $(CC) $(CFLAGS) $(CDEPS) $(LDFLAGS) $(LIBS) -o $@ $< + $(CC) -std=c11 $(CFLAGS) $(CDEPS) -o $@ $< $(LDFLAGS) $(LIBS) install: badwolf mkdir -p $(DESTDIR)$(PREFIX)/bin -- cgit v1.3.1-23-gd82d