commit: 1acb3987e24850c651c85fea7e5355bd75aa81ed
parent: adfdc1f543588dae9426537b04b3874d76aaf010
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 20 Mar 2019 15:47:57 +0100
Makefile: Make it POSIX
Diffstat:
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,11 +1,13 @@
-CC ?= cc
-CFLAGS ?= -g -Wall -Wextra
-PREFIX ?= /usr/local
-
-DEPS = gtk+-3.0 webkit2gtk-4.0
-CFLAGS += $(shell pkg-config --cflags $(DEPS))
-LDFLAGS += $(shell pkg-config --libs $(DEPS))
-OBJS = badwolf
+.POSIX:
+
+PREFIX = /usr/local
+
+DEPS = gtk+-3.0 webkit2gtk-4.0
+OBJS = badwolf
+
+CC = cc -std=c99
+CFLAGS = -g -Wall -Wextra `pkg-config --cflags $(DEPS)`
+LDFLAGS = `pkg-config --libs $(DEPS)`
all: $(OBJS)