From: David Griffith Date: Tue, 31 Jul 2018 08:03:45 +0000 (-0700) Subject: Add MAKEFLAGS option to keep output of parallel builds readable. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=db811f5354fc2674eefe164512406ecd6c6fe90f;p=liskon_frotz.git Add MAKEFLAGS option to keep output of parallel builds readable. --- 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