From db811f5354fc2674eefe164512406ecd6c6fe90f Mon Sep 17 00:00:00 2001 From: David Griffith Date: Tue, 31 Jul 2018 01:03:45 -0700 Subject: [PATCH] Add MAKEFLAGS option to keep output of parallel builds readable. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 1ddebcf..9b20d09 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,11 @@ CFLAGS += -D_POSIX_C_SOURCE=200809L # These are handy for debugging. CFLAGS += -g +# This keeps make(1) output understandable when using -j for parallel +# building If your version of make(1) can't do parallel builds, comment +# this out. +MAKEFLAGS += -Orecurse + # Define where you want Frotz installed PREFIX ?= /usr/local MANDIR ?= $(PREFIX)/share/man @@ -82,6 +87,7 @@ CURSES ?= -lncurses export CC export CFLAGS +export MAKEFLAGS export AR export RANLIB export PREFIX -- 2.34.1