From dcc90e02ed381767a028638af9ead9b1e3477d34 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 24 Jun 2016 17:07:08 -0400 Subject: Support VPATH builds. --- tests/GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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} -- cgit v1.2.3