aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.include
diff options
context:
space:
mode:
authorchrysn2012-10-19 18:56:39 +0200
committerchrysn2012-10-19 18:56:39 +0200
commit75c216582774549aede37db1d5d6b8485acfce17 (patch)
tree4e0ca5aa8f6bc2e488154fd252ac278b3c6700ca /lib/Makefile.include
parent670689955165fdb336d3da491904b656e5788b43 (diff)
build common .o files everywhere (fixes issue #29)
vector.o, nvic.o, scb.o and assert.o are available on every platform, but at least some of them differ between the implementations. they already got built explicityly on some platforms; now adding them to the common Makefile.include.
Diffstat (limited to 'lib/Makefile.include')
-rw-r--r--lib/Makefile.include3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile.include b/lib/Makefile.include
index 9fbea24..6c25069 100644
--- a/lib/Makefile.include
+++ b/lib/Makefile.include
@@ -23,6 +23,9 @@ ifneq ($(V),1)
Q := @
endif
+# common objects
+OBJS += vector.o systick.o scb.o nvic.o assert.o
+
all: $(SRCLIBDIR)/$(LIBNAME).a
$(SRCLIBDIR)/$(LIBNAME).a: $(SRCLIBDIR)/$(LIBNAME).ld $(OBJS)