Moving the avr-rss2 platform examples to the global examples
location as suggested by the maintainers.
This commit is contained in:
parent
39094e3c41
commit
3c19e870f1
47 changed files with 0 additions and 0 deletions
19
examples/avr-rss2/hello-sensors/Makefile
Normal file
19
examples/avr-rss2/hello-sensors/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
||||
CONTIKI_PROJECT = hello-sensors
|
||||
all: $(CONTIKI_PROJECT)
|
||||
|
||||
# We use floating vars. Add library.
|
||||
PRINTF_LIB_FLT = -Wl,-u,vfprintf -lprintf_flt -lm
|
||||
PRINTF_LIB_MIN = -Wl,-u,vfprintf -lprintf_min
|
||||
PRINTF_LIB = $(PRINTF_LIB_FLT)
|
||||
CLIBS = $(PRINTF_LIB)
|
||||
|
||||
|
||||
CUSTOM_RULE_LINK = 1
|
||||
%.$(TARGET): %.co $(PROJECT_OBJECTFILES) $(PROJECT_LIBRARIES) contiki-$(TARGET).a
|
||||
$(LD) $(LDFLAGS) $(TARGET_STARTFILES) ${filter-out %.a,$^} ${filter %.a,$^} $(TARGET_LIBFILES) -o $@ $(CLIBS)
|
||||
|
||||
|
||||
|
||||
CONTIKI = ../../../..
|
||||
include $(CONTIKI)/Makefile.include
|
Loading…
Add table
Add a link
Reference in a new issue