logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: f5d3ddcdaf87b422a02b4bfffe4ba1b299e61e73
parent: bd5214c5fdc97491b50e036402526a71f161277f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 28 Mar 2019 21:58:56 +0100

Makefile: fix CC argument ordering

From POSIX manpages:
c99 [options...] pathname [[pathname] [−I directory]
    [−L directory] [−l library]]...

Diffstat:

MMakefile4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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