added define to pass make command define.

This commit is contained in:
skarg
2012-02-17 04:15:16 +00:00
parent 9e8c2b0927
commit 43b3a58704
+4
View File
@@ -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