From 7fa5c192c40cedb4111f0cfd3aaad9126861588b Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 11 Feb 2012 12:55:45 +0000 Subject: Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIR unexpectedly being set to something already. --- tests/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 7cbf4303..12ba8497 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,6 +1,6 @@ -include ../Makefile.settings -ifdef SRCDIR -SRCDIR := $(SRCDIR)tests/ +ifdef _SRCDIR_ +_SRCDIR_ := $(_SRCDIR_)tests/ endif LFLAGS +=-lcheck @@ -21,6 +21,6 @@ check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../l @echo '*' Linking $@ @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) -%.o: $(SRCDIR)%.c +%.o: $(_SRCDIR_)%.c @echo '*' Compiling $< @$(CC) -c $(CFLAGS) $< -o $@ -- cgit v1.2.3