From 43b3a5870496c6616b024ead236c8889b210b0ef Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 17 Feb 2012 04:15:16 +0000 Subject: [PATCH] added define to pass make command define. --- bacnet-stack/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bacnet-stack/Makefile b/bacnet-stack/Makefile index d7cbf4cb..2a618476 100644 --- a/bacnet-stack/Makefile +++ b/bacnet-stack/Makefile @@ -30,8 +30,12 @@ BBMD_DEFINE ?=-DBBMD_ENABLED=0 #BBMD_DEFINE ?= -DBBMD_ENABLED=1 #BBMD_DEFINE ?= -DBBMD_CLIENT_ENABLED +# Passing parameters via command line +MAKE_DEFINE ?= + # Define WEAK_FUNC for [...somebody help here; I can't find any uses of it] DEFINES = $(BACNET_DEFINES) $(BACDL_DEFINE) $(BBMD_DEFINE) -DWEAK_FUNC= +DEFINES += $(MAKE_DEFINE) # directories BACNET_PORT ?= linux