diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-17 01:36:54 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-17 01:46:45 -0500 |
commit | 1ff424c47193173b24d997293f8b0b0c4efcdd48 (patch) | |
tree | 034b64efea80bdf97a5413f6bd0b66fe6bec71c2 /GNUmakefile | |
parent | a6170ec03bc3853b697c14ce93c707cb94da4baf (diff) |
Build against newer versions of libraries.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile new file mode 100644 index 0000000..cc5a40d --- /dev/null +++ b/GNUmakefile @@ -0,0 +1,13 @@ +# This file is a hack to let us pass whatever flags we want to Make, +# since adjusting MAKEFLAGS at runtime only half-works. +# +# Most of the complexity is dancing around to avoid having any +# possibly conflicting identifiers. + +MAKEFLAGS += --no-print-directory +rest = $(wordlist 2,$(words $1),$1) +target = $(or $(firstword $(MAKECMDGOALS)),default) +$(or $(call rest,$(MAKECMDGOALS)),_$(target)): $(target) + @: +$(target): + @+$(MAKE) -f Makefile --no-builtin-rules --no-builtin-variables $(MAKECMDGOALS) |