diff --git a/cpu/native/Makefile.native b/cpu/native/Makefile.native index 2c9150d7c..26be02e95 100644 --- a/cpu/native/Makefile.native +++ b/cpu/native/Makefile.native @@ -30,3 +30,5 @@ else symbols.c symbols.h: @${CONTIKI}/tools/make-empty-symbols endif + +contiki-$(TARGET).a: ${addprefix $(OBJECTDIR)/,symbols.o} diff --git a/platform/native/Makefile.native b/platform/native/Makefile.native index c23a4cfc2..444b34dd9 100644 --- a/platform/native/Makefile.native +++ b/platform/native/Makefile.native @@ -16,5 +16,3 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES) ### Define the CPU directory CONTIKI_CPU=$(CONTIKI)/cpu/native include $(CONTIKI)/cpu/native/Makefile.native - -contiki-$(TARGET).a: ${addprefix $(OBJECTDIR)/,symbols.o}