From: qwert Date: Mon, 4 Aug 2008 15:01:39 +0000 (+0000) Subject: Little fix on makefile syntax. X-Git-Tag: 2.0.0~398 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=inline;h=07d919421e57b056ac8c43d970113a560af07148;p=bertos.git Little fix on makefile syntax. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1536 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/rules.mk b/bertos/rules.mk index eea2625f..ec0943ae 100644 --- a/bertos/rules.mk +++ b/bertos/rules.mk @@ -73,11 +73,11 @@ $(1)_MAP_FLAGS = $$(MAP_FLAGS_EMB) #In embedded we need s19, hex and bin $$(OUTDIR)/$(1).tgt : $$(OUTDIR)/$(1).s19 $$(OUTDIR)/$(1).hex $$(OUTDIR)/$(1).bin else -#On Darwin architecture the assembly doesn't link correctly if this flag is setted. +#On Darwin architecture the assembly doesn't link correctly if this flag is set. ifeq ($(shell uname | grep -c "Darwin"),1) -LIST_FLAGS = "" -MAP_FLAGS = "" -LDFLAGS = "" +LIST_FLAGS := "" +MAP_FLAGS := "" +LDFLAGS := "" endif #use hosted specific map flags $(1)_MAP_FLAGS = $$(MAP_FLAGS_HOST)