From: Daniel Carl Date: Tue, 9 May 2017 18:59:52 +0000 (+0200) Subject: Don't give MFLAGS to make explicitly. X-Git-Url: https://git.owens.tech/assets/static/git-logo.png/assets/static/git-logo.png/git?a=commitdiff_plain;h=dcc2c39757b707dbf9978f13a0b17dcb32be4ce9;p=vimb.git Don't give MFLAGS to make explicitly. The option given to the upper most make call are already given as MAKEFLAGS on recursive calls to make. So there is no need to give them explicitly. --- diff --git a/Makefile b/Makefile index 74bc6b8..e56e528 100644 --- a/Makefile +++ b/Makefile @@ -32,15 +32,15 @@ uninstall: clean: $(SRCDIR).subdir-clean sandbox: - $(Q)$(MAKE) $(MFLAGS) RUNPREFIX=$(CURDIR)/sandbox/usr PREFIX=/usr DESTDIR=./sandbox install + $(Q)$(MAKE) RUNPREFIX=$(CURDIR)/sandbox/usr PREFIX=/usr DESTDIR=./sandbox install runsandbox: sandbox sandbox/usr/bin/vimb %.subdir-all: - $(Q)$(MAKE) $(MFLAGS) -C $* + $(Q)$(MAKE) -C $* %.subdir-clean: - $(Q)$(MAKE) $(MFLAGS) -C $* clean + $(Q)$(MAKE) -C $* clean .PHONY: all options install uninstall clean sandbox runsandbox diff --git a/config.mk b/config.mk index d09d8e6..3a4964e 100644 --- a/config.mk +++ b/config.mk @@ -40,4 +40,3 @@ EXTLDFLAGS = $(shell pkg-config --libs webkit2gtk-4.0) -shared CFLAGS += $(shell pkg-config --cflags $(LIBS)) CFLAGS += ${CPPFLAGS} LDFLAGS += $(shell pkg-config --libs $(LIBS)) -MFLAGS = --no-print-directory diff --git a/src/Makefile b/src/Makefile index f60d2ce..7f037c6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -35,9 +35,9 @@ scripts/scripts.h: $(JSFILES) $(CSSFILES) $(Q)$(CC) $(CFLAGS) -c -o $@ $< %.subdir-all: config.h - $(Q)$(MAKE) $(MFLAGS) -C $* + $(Q)$(MAKE) -C $* %.subdir-clean: - $(Q)$(MAKE) $(MFLAGS) -C $* clean + $(Q)$(MAKE) -C $* clean .PHONY: all clean