comparison target-utils/libbase/Makefile @ 991:5cff3579814c

target-utils: libbase factored out of libcommon The library dependency order is now strictly unidirectional
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 30 Dec 2015 20:48:12 +0000
parents
children
comparison
equal deleted inserted replaced
990:2a867e5768e9 991:5cff3579814c
1 CC= arm-elf-gcc
2 CFLAGS= -Os -fno-builtin
3 CPPFLAGS=-I../include
4 AR= arm-elf-ar
5 RANLIB= arm-elf-ranlib
6
7 OBJS= abbdrv.o osmodelay.o serio.o spidrv.o
8
9 all: libbase.a
10
11 libbase.a: ${OBJS}
12 ${AR} cru $@ ${OBJS}
13 ${RANLIB} $@
14
15 clean:
16 rm -f *.[oa] *errs