Skip to content
Snippets Groups Projects
Commit cfcff881 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Throw an error and hint if SYMLINK is defined on the command-line

Since SYMLINK=1 is valid/suggested for install/GNUmakefile, this is a common
mistake that we can catch here.
parent c0fc579e
Branches
Tags
1 merge request!455Update branch with changes from master
......@@ -11,6 +11,10 @@
# Optional build targets: dlls, utils, mono, all (default) #
#########################################################################
ifdef SYMLINK
$(error SYMLINK was defined and unexpected. You might mean the 'symlinks' target instead)
endif
PWD := $(shell /bin/pwd)
SRC_ROOT ?= ${PWD}/..
include $(SRC_ROOT)/build/Common.gmake
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment