From 27ae094413c6491acf722b7e2bb998f3272b23d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= <rene.kijewski@fu-berlin.de> Date: Fri, 23 May 2014 14:28:27 +0200 Subject: [PATCH] make: remove clutter Remove some outdated example code. --- Makefile.include | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile.include b/Makefile.include index c943b5d1f1..9dbdf9b942 100644 --- a/Makefile.include +++ b/Makefile.include @@ -60,7 +60,7 @@ endif # Feature test default CFLAGS and LINKFLAGS for the set compiled. include $(RIOTBASE)/Makefile.cflags -# your binaries to link +# the binaries to link BASELIBS += $(BINDIR)$(BOARD)_base.a BASELIBS += $(BINDIR)${PROJECT}.a BASELIBS += $(USEPKG:%=${BINDIR}%.a) @@ -70,7 +70,7 @@ BASELIBS += $(USEPKG:%=${BINDIR}%.a) export ELFFILE ?= $(BINDIR)$(PROJECT).elf export HEXFILE ?= $(ELFFILE:.elf=.hex) -## make script for your application. Build RIOT-base here! +## make script for the application all: $(BINDIR)$(PROJECT).a @echo "Building application $(PROJECT) for $(BOARD) w/ MCU $(MCU)." "$(MAKE)" -C $(RIOTBOARD)/$(BOARD) @@ -83,11 +83,6 @@ endif $(AD)$(SIZE) $(ELFFILE) $(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 SRC = $(wildcard *.c) -- GitLab