Added generation of symbols.[ch]

This commit is contained in:
adamdunkels 2006-12-19 09:21:12 +00:00
parent b8b47d2cc9
commit 2e8431b3d9

View file

@ -18,3 +18,12 @@ LDFLAGS = -Wl,-Map=contiki.map,-export-dynamic
%.so: $(OBJECTDIR)/%.o %.so: $(OBJECTDIR)/%.o
$(LD) -shared -o $@ $^ $(LD) -shared -o $@ $^
.PHONY: symbols.c symbols.h
ifdef CORE
symbols.c symbols.h:
@${CONTIKI}/tools/make-symbols $(CORE)
else
symbols.c symbols.h:
@${CONTIKI}/tools/make-empty-symbols
endif