Makefile: run $(MAKE) -f Makefile.mak using -e
commit056a3a17c94960073a30d2d624965ac68ad167c2
authorKyle J. McKay <mackyle@gmail.com>
Fri, 5 May 2017 11:10:35 +0000 (5 04:10 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 5 May 2017 11:10:35 +0000 (5 04:10 -0700)
treefdb1ec281fde7a0edbc09f2d95ff269cb9af7986
parent3b41b1aac0a967d9f8838e52fbe241587206a1d7
Makefile: run $(MAKE) -f Makefile.mak using -e

Explicit command line variable settings are supposed to override
Makefile variables.  However, GNU make fails to correctly pass these
overrides along to sub makes like it should.

It does, however, set them in the environment like it's supposed to
so run the "Makefile.mak" make using the "-e" option so that the
correct behavior is obtained when GNU make is "make".

While this does mean environment variables in general will override
Makefile variables of the same name, problematic variables can be
handled by "Makefile.sh" if necessary since it runs before the "make"
using "Makefile.mak" does.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Makefile
t/Makefile