diff options
Makefile: fix CC argument ordering
From POSIX manpages:
c99 [options...] pathname [[pathname] [−I directory]
[−L directory] [−l library]]...
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | Makefile | 4 |
@@ -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 |