aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/Makefile
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-02-11 12:55:45 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2012-02-11 12:55:45 +0000
commit7fa5c192c40cedb4111f0cfd3aaad9126861588b (patch)
treeb98d2679c933f562a0d30c05464cb2de19a3b560 /protocols/Makefile
parent23445b601770e612be584294ad066ad45952542f (diff)
Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIR
unexpectedly being set to something already.
Diffstat (limited to 'protocols/Makefile')
-rw-r--r--protocols/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Makefile b/protocols/Makefile
index 9e8d3fb9..e93f3b23 100644
--- a/protocols/Makefile
+++ b/protocols/Makefile
@@ -7,8 +7,8 @@
### DEFINITIONS
-include ../Makefile.settings
-ifdef SRCDIR
-SRCDIR := $(SRCDIR)protocols/
+ifdef _SRCDIR_
+_SRCDIR_ := $(_SRCDIR_)protocols/
endif
# [SH] Program variables
@@ -52,7 +52,7 @@ protocols.o: $(objects) $(subdirs)
$(objects): ../Makefile.settings Makefile
-$(objects): %.o: $(SRCDIR)%.c
+$(objects): %.o: $(_SRCDIR_)%.c
@echo '*' Compiling $<
@$(CC) -c $(CFLAGS) $< -o $@