Skip to content
Snippets Groups Projects
Commit 27ae0944 authored by René Kijewski's avatar René Kijewski
Browse files

make: remove clutter

Remove some outdated example code.
parent e8bf4ef6
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ endif ...@@ -60,7 +60,7 @@ endif
# Feature test default CFLAGS and LINKFLAGS for the set compiled. # Feature test default CFLAGS and LINKFLAGS for the set compiled.
include $(RIOTBASE)/Makefile.cflags include $(RIOTBASE)/Makefile.cflags
# your binaries to link # the binaries to link
BASELIBS += $(BINDIR)$(BOARD)_base.a BASELIBS += $(BINDIR)$(BOARD)_base.a
BASELIBS += $(BINDIR)${PROJECT}.a BASELIBS += $(BINDIR)${PROJECT}.a
BASELIBS += $(USEPKG:%=${BINDIR}%.a) BASELIBS += $(USEPKG:%=${BINDIR}%.a)
...@@ -70,7 +70,7 @@ BASELIBS += $(USEPKG:%=${BINDIR}%.a) ...@@ -70,7 +70,7 @@ BASELIBS += $(USEPKG:%=${BINDIR}%.a)
export ELFFILE ?= $(BINDIR)$(PROJECT).elf export ELFFILE ?= $(BINDIR)$(PROJECT).elf
export HEXFILE ?= $(ELFFILE:.elf=.hex) export HEXFILE ?= $(ELFFILE:.elf=.hex)
## make script for your application. Build RIOT-base here! ## make script for the application
all: $(BINDIR)$(PROJECT).a all: $(BINDIR)$(PROJECT).a
@echo "Building application $(PROJECT) for $(BOARD) w/ MCU $(MCU)." @echo "Building application $(PROJECT) for $(BOARD) w/ MCU $(MCU)."
"$(MAKE)" -C $(RIOTBOARD)/$(BOARD) "$(MAKE)" -C $(RIOTBOARD)/$(BOARD)
...@@ -83,11 +83,6 @@ endif ...@@ -83,11 +83,6 @@ endif
$(AD)$(SIZE) $(ELFFILE) $(AD)$(SIZE) $(ELFFILE)
$(AD)$(OBJCOPY) $(OFLAGS) $(ELFFILE) $(HEXFILE) $(AD)$(OBJCOPY) $(OFLAGS) $(ELFFILE) $(HEXFILE)
## your make rules
## Only basic example - modify it for larger applications!!
#$(BINDIR)/$(PROJECT).a: $(BINDIR)/$(PROJECT).o
# $(AR) -rc $(BINDIR)/project.a $(BINDIR)/$(PROJECT).o
# string array of all names of c files in dir # string array of all names of c files in dir
SRC = $(wildcard *.c) SRC = $(wildcard *.c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment