diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nuc-fw/bsp/Makefile	Sat Aug 31 23:43:23 2013 +0000
@@ -0,0 +1,24 @@
+CC=	arm-elf-gcc
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork
+ASFLAGS=-mthumb-interwork
+AR=	arm-elf-ar
+RANLIB=	arm-elf-ranlib
+
+IOBJS=	armio.o inth.o
+
+XTOBJS=	clkm.o niq.o
+
+XOBJS=	${XTOBJS}
+AOBJS=	${IOBJS}
+
+HDRS=
+
+all:	${IOBJS} ${XOBJS}
+
+${AOBJS}:	${HDRS}
+
+${XTOBJS}:	%.o : %.c ${HDRS}
+	${CC} ${CFLAGS} -mthumb -c $<
+
+clean:
+	rm -f *.[oa] *errs