minor fix for SYMBOLS

This commit is contained in:
fros4943 2007-11-25 22:47:43 +00:00
parent 8aac8cde97
commit d6f46bfcaa

View file

@ -1,4 +1,4 @@
# $Id: Makefile.cooja,v 1.20 2007/09/28 07:21:56 fros4943 Exp $
# $Id: Makefile.cooja,v 1.21 2007/11/25 22:47:43 fros4943 Exp $
## The COOJA Simulator Contiki platform Makefile
##
@ -82,6 +82,7 @@ CFLAGS = $(CFLAGSNO)
$(LIBFILE): $(MAINFILE) $(PROJECT_OBJECTFILES) $(ARFILE)
ifdef SYMBOLS
# Recreate symbols file and relink with final memory layout (twice)
${CONTIKI}/tools/make-symbols-nm $(LIBFILE)
$(CC) $(CFLAGS) -c symbols.c -o $(OBJECTDIR)/symbols.o
$(LINK_COMMAND_1) $^ $(LINK_COMMAND_2)
${CONTIKI}/tools/make-symbols-nm $(LIBFILE)