diff gsm-fw/L1/cfile/Makefile @ 546:c7e53436c451

L1: starting to compile core C files
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 03 Aug 2014 06:58:00 +0000
parents
children 32f7494783db
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/L1/cfile/Makefile	Sun Aug 03 06:58:00 2014 +0000
@@ -0,0 +1,16 @@
+CC=	arm-elf-gcc
+CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
+	-I../tm_include -I../tm_cust0 -I../tpudrv
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork
+LD=	arm-elf-ld
+
+IOBJS=
+XOBJS=	l1_afunc.o
+
+all:	${XOBJS}
+
+${XOBJS}:	%.o : %.c
+	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
+
+clean:
+	rm -f *.[oa] *.out *errs