17 lines
410 B
Plaintext
17 lines
410 B
Plaintext
#
|
|
# Test file to make sure command-line variables are being set and overriding
|
|
# makefile variables
|
|
#
|
|
#include "../lib/mk/shx.mk"
|
|
cmd=junk
|
|
.MAKEFLAGS: "cmd=cmd"
|
|
.IGNORE: # if we don't do this, the bourne shell will abort on a failed if
|
|
a:
|
|
if test "$(cmd)" != "cmd" ; then
|
|
@echo Check MainParseArgs and Var_Set to see if command
|
|
@variables are being set properly.
|
|
@exit 1
|
|
else
|
|
@exit 0
|
|
fi
|