comparison nuc-fw/bsp/Makefile @ 93:45911ad957fd

nuc-fw: beginning to integrate TI's BSP code
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 31 Aug 2013 23:43:23 +0000
parents
children 3b2e941043d8
comparison
equal deleted inserted replaced
92:f459043fae0c 93:45911ad957fd
1 CC= arm-elf-gcc
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork
3 ASFLAGS=-mthumb-interwork
4 AR= arm-elf-ar
5 RANLIB= arm-elf-ranlib
6
7 IOBJS= armio.o inth.o
8
9 XTOBJS= clkm.o niq.o
10
11 XOBJS= ${XTOBJS}
12 AOBJS= ${IOBJS}
13
14 HDRS=
15
16 all: ${IOBJS} ${XOBJS}
17
18 ${AOBJS}: ${HDRS}
19
20 ${XTOBJS}: %.o : %.c ${HDRS}
21 ${CC} ${CFLAGS} -mthumb -c $<
22
23 clean:
24 rm -f *.[oa] *errs