From 0b5efa5be5ccc64652f6659d132b33d49325147a Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 14 Jul 2010 12:55:37 +0000 Subject: [PATCH] Changed -L=lib to -Llib in all GNU Make makefiles since it was wrong and causing problems on cross compilers. Thank you, Magno! --- bacnet-stack/demo/dcc/Makefile | 6 +++--- bacnet-stack/demo/epics/Makefile | 6 +++--- bacnet-stack/demo/iamrouter/Makefile | 6 +++--- bacnet-stack/demo/initrouter/Makefile | 6 +++--- bacnet-stack/demo/readfile/Makefile | 6 +++--- bacnet-stack/demo/readprop/Makefile | 6 +++--- bacnet-stack/demo/readpropm/Makefile | 6 +++--- bacnet-stack/demo/reinit/Makefile | 6 +++--- bacnet-stack/demo/server/Makefile | 6 +++--- bacnet-stack/demo/timesync/Makefile | 6 +++--- bacnet-stack/demo/ucov/Makefile | 6 +++--- bacnet-stack/demo/whohas/Makefile | 6 +++--- bacnet-stack/demo/whois/Makefile | 6 +++--- bacnet-stack/demo/whoisrouter/Makefile | 6 +++--- bacnet-stack/demo/writefile/Makefile | 6 +++--- bacnet-stack/demo/writeprop/Makefile | 6 +++--- bacnet-stack/ports/at91sam7s/Makefile | 2 +- bacnet-stack/ports/atmega168/Makefile | 10 +++++----- bacnet-stack/ports/atmega8/Makefile | 2 +- bacnet-stack/ports/bdk-atxx4-mstp/Makefile | 2 +- bacnet-stack/ports/pic18f6720/Makefile | 2 +- 21 files changed, 57 insertions(+), 57 deletions(-) diff --git a/bacnet-stack/demo/dcc/Makefile b/bacnet-stack/demo/dcc/Makefile index 84975cb0..c22e86f0 100644 --- a/bacnet-stack/demo/dcc/Makefile +++ b/bacnet-stack/demo/dcc/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for GCC compiler -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -28,11 +28,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME),-lc,-lgcc,-lm +LIBRARIES=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME),-lc,-lgcc,-lm endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/epics/Makefile b/bacnet-stack/demo/epics/Makefile index 028b0e29..28428395 100644 --- a/bacnet-stack/demo/epics/Makefile +++ b/bacnet-stack/demo/epics/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -28,11 +28,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME),-lc,-lgcc,-lm +LIBRARIES=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME),-lc,-lgcc,-lm endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/iamrouter/Makefile b/bacnet-stack/demo/iamrouter/Makefile index 820b491b..5ea72554 100644 --- a/bacnet-stack/demo/iamrouter/Makefile +++ b/bacnet-stack/demo/iamrouter/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -28,11 +28,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/initrouter/Makefile b/bacnet-stack/demo/initrouter/Makefile index 8c05f7a3..357494d8 100644 --- a/bacnet-stack/demo/initrouter/Makefile +++ b/bacnet-stack/demo/initrouter/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -28,11 +28,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/readfile/Makefile b/bacnet-stack/demo/readfile/Makefile index 909c1773..9a654067 100644 --- a/bacnet-stack/demo/readfile/Makefile +++ b/bacnet-stack/demo/readfile/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -27,11 +27,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME),-lc,-lgcc,-lm +LIBRARIES=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME),-lc,-lgcc,-lm endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/readprop/Makefile b/bacnet-stack/demo/readprop/Makefile index 2e98ac51..c2abdc03 100644 --- a/bacnet-stack/demo/readprop/Makefile +++ b/bacnet-stack/demo/readprop/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application using GCC compiler -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -28,11 +28,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/readpropm/Makefile b/bacnet-stack/demo/readpropm/Makefile index 3b5c464a..58e5eb85 100644 --- a/bacnet-stack/demo/readpropm/Makefile +++ b/bacnet-stack/demo/readpropm/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -28,11 +28,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/reinit/Makefile b/bacnet-stack/demo/reinit/Makefile index e6f7c0f7..f056879e 100644 --- a/bacnet-stack/demo/reinit/Makefile +++ b/bacnet-stack/demo/reinit/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -29,11 +29,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/server/Makefile b/bacnet-stack/demo/server/Makefile index d1fe3e1b..9887b7fb 100644 --- a/bacnet-stack/demo/server/Makefile +++ b/bacnet-stack/demo/server/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -29,11 +29,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lrt,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lrt,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/timesync/Makefile b/bacnet-stack/demo/timesync/Makefile index 021774ec..e460ce95 100644 --- a/bacnet-stack/demo/timesync/Makefile +++ b/bacnet-stack/demo/timesync/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -29,11 +29,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/ucov/Makefile b/bacnet-stack/demo/ucov/Makefile index 57d3b252..33951206 100644 --- a/bacnet-stack/demo/ucov/Makefile +++ b/bacnet-stack/demo/ucov/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -29,11 +29,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/whohas/Makefile b/bacnet-stack/demo/whohas/Makefile index f508a697..18e1b26e 100644 --- a/bacnet-stack/demo/whohas/Makefile +++ b/bacnet-stack/demo/whohas/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -29,11 +29,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/whois/Makefile b/bacnet-stack/demo/whois/Makefile index fa316a70..16fb8db6 100644 --- a/bacnet-stack/demo/whois/Makefile +++ b/bacnet-stack/demo/whois/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -29,11 +29,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/whoisrouter/Makefile b/bacnet-stack/demo/whoisrouter/Makefile index 9473689b..935933fa 100644 --- a/bacnet-stack/demo/whoisrouter/Makefile +++ b/bacnet-stack/demo/whoisrouter/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -28,11 +28,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/writefile/Makefile b/bacnet-stack/demo/writefile/Makefile index 203f1668..323aff27 100644 --- a/bacnet-stack/demo/writefile/Makefile +++ b/bacnet-stack/demo/writefile/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -29,11 +29,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/demo/writeprop/Makefile b/bacnet-stack/demo/writeprop/Makefile index ad0ffea4..64da5471 100644 --- a/bacnet-stack/demo/writeprop/Makefile +++ b/bacnet-stack/demo/writeprop/Makefile @@ -1,6 +1,6 @@ #Makefile to build BACnet Application for the Linux Port -# tools - only if you need them. +# tools - only if you need them. # Most platforms have this already defined # CC = gcc @@ -33,11 +33,11 @@ INCLUDES = -I$(BACNET_INCLUDE) -I$(BACNET_PORT_DIR) ifeq (${BACNET_PORT},linux) PFLAGS = -pthread TARGET_BIN = ${TARGET} -LIBRARIES=-lc,-lgcc,-lm,-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARIES=-lc,-lgcc,-lm,-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) endif ifeq (${BACNET_PORT},win32) TARGET_BIN = ${TARGET}.exe -LIBRARY1=-L=$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) +LIBRARY1=-L$(BACNET_LIB_DIR),-l$(BACNET_LIB_NAME) LIBRARY2=-lws2_32,-lgcc,-lm,-liphlpapi,-lwinmm LIBRARIES=$(LIBRARY1),$(LIBRARY2) endif diff --git a/bacnet-stack/ports/at91sam7s/Makefile b/bacnet-stack/ports/at91sam7s/Makefile index 8b59f5d2..b7fe642c 100644 --- a/bacnet-stack/ports/at91sam7s/Makefile +++ b/bacnet-stack/ports/at91sam7s/Makefile @@ -34,7 +34,7 @@ LIBRARY = lib$(TARGET).a # -Wa, Pass comma-separated on to the assembler AFLAGS = -Wa,-ahls,-mapcs-32,-adhlns=$(<:.s=.lst) # -Wl, Pass comma-separated on to the linker -LIBRARIES=-lc,-lgcc,-lm,-L=.,-l$(TARGET) +LIBRARIES=-lc,-lgcc,-lm,-L.,-l$(TARGET) LDFLAGS = -nostartfiles LDFLAGS += -Wl,-nostdlib,-Map=$(TARGET).map,$(LIBRARIES),-T$(LDSCRIPT) # dead code removal diff --git a/bacnet-stack/ports/atmega168/Makefile b/bacnet-stack/ports/atmega168/Makefile index 9ae00bc6..8a2a4486 100644 --- a/bacnet-stack/ports/atmega168/Makefile +++ b/bacnet-stack/ports/atmega168/Makefile @@ -18,12 +18,12 @@ LINT = splint # programmer id--check the avrdude for complete list # # of available opts. These should include stk500, # # avr910, avrisp, bsd, pony and more. Set this to -# # one of the valid "-c PROGRAMMER-ID" values +# # one of the valid "-c PROGRAMMER-ID" values # # described in the avrdude info page. -# # +# # AVRDUDE_PROGRAMMERID = avrispmkII # -# # port--serial or parallel port to which your +# # port--serial or parallel port to which your # # hardware programmer is attached # # AVRDUDE_PORT = /dev/ttyUSB0 @@ -142,7 +142,7 @@ LDFLAGS = $(COMMON) #dead code removal #LDFLAGS += -Wl,-nostartfiles,-nostdlib LDFLAGS += -Wl,--gc-sections,-static -LDFLAGS += -Wl,-Map=$(TARGET).map,-L=.,-l$(TARGET) +LDFLAGS += -Wl,-Map=$(TARGET).map,-L.,-l$(TARGET) #LDFLAGS += -Wl,-Map=$(TARGET).map ## Intel Hex file production flags @@ -188,7 +188,7 @@ size: ${TARGET_ELF} @${SIZE} ${TARGET_ELF} lint: - $(LINT) $(BFLAGS) $(CSRC) + $(LINT) $(BFLAGS) $(CSRC) install: $(TARGET_ELF) $(AVRDUDE) -c $(AVRDUDE_PROGRAMMERID) \ diff --git a/bacnet-stack/ports/atmega8/Makefile b/bacnet-stack/ports/atmega8/Makefile index 7456debb..c1f9dfb0 100644 --- a/bacnet-stack/ports/atmega8/Makefile +++ b/bacnet-stack/ports/atmega8/Makefile @@ -122,7 +122,7 @@ LDFLAGS = $(COMMON) #dead code removal #LDFLAGS += -Wl,-nostartfiles,-nostdlib LDFLAGS += -Wl,--gc-sections,-static -LDFLAGS += -Wl,-Map=$(TARGET).map,-L=.,-l$(TARGET) +LDFLAGS += -Wl,-Map=$(TARGET).map,-L.,-l$(TARGET) #LDFLAGS += -Wl,-Map=$(TARGET).map ## Intel Hex file production flags diff --git a/bacnet-stack/ports/bdk-atxx4-mstp/Makefile b/bacnet-stack/ports/bdk-atxx4-mstp/Makefile index a2427075..093ad1d9 100644 --- a/bacnet-stack/ports/bdk-atxx4-mstp/Makefile +++ b/bacnet-stack/ports/bdk-atxx4-mstp/Makefile @@ -198,7 +198,7 @@ LDFLAGS = $(COMMON) LDFLAGS += -Wl,--gc-sections,-static LDFLAGS += -Wl,--section-start=.bootloader=$(BOOTLOAD) LDFLAGS += -Wl,-Map=$(TARGET).map -LDFLAGS += -Wl,-L=.,-l$(TARGET) +LDFLAGS += -Wl,-L.,-l$(TARGET) ## Intel Hex file production flags HEX_FLASH_FLAGS = -R .eeprom -R .fuse -R .lock -R .signature diff --git a/bacnet-stack/ports/pic18f6720/Makefile b/bacnet-stack/ports/pic18f6720/Makefile index f767ad19..f0851c3a 100644 --- a/bacnet-stack/ports/pic18f6720/Makefile +++ b/bacnet-stack/ports/pic18f6720/Makefile @@ -107,7 +107,7 @@ ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2 LDFLAGS = $(COMMON) #dead code removal LDFLAGS += -Wl,--gc-sections,-static -LDFLAGS += -Wl,-Map=$(TARGET).map,-L=.,-l$(TARGET) +LDFLAGS += -Wl,-Map=$(TARGET).map,-L.,-l$(TARGET) #LDFLAGS += -Wl,-Map=$(TARGET).map ## Intel Hex file production flags