aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-24 17:07:08 -0400
committerRob Austein <sra@hactrn.net>2016-06-24 17:07:08 -0400
commitdcc90e02ed381767a028638af9ead9b1e3477d34 (patch)
treea466d4a652008ced23a68d3cba4336ddd0f711d1 /tests
parent2e95d8a357ea0cce0ef11da8520863b2d4e99936 (diff)
Support VPATH builds.
Diffstat (limited to 'tests')
-rw-r--r--tests/GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/GNUmakefile b/tests/GNUmakefile
index f4299a0..50d0ad5 100644
--- a/tests/GNUmakefile
+++ b/tests/GNUmakefile
@@ -27,8 +27,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-INC = ../hal.h
-LIB = ../libhal.a
+INC ?= ../hal.h
+LIB ?= ../libhal.a
# Which tests to build depends on how the library was compiled.
@@ -52,7 +52,7 @@ else
endif
-CFLAGS = -g3 -Wall -fPIC -std=c99 -I..
+CFLAGS ?= -g3 -Wall -fPIC -std=c99 -I..
all: ${BIN}