diff gsm-fw/g23m-aci/uart/Makefile @ 779:f54080301c98

UART protocol stack entity compiles
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Sat, 07 Mar 2015 23:55:47 +0000
parents 5a0c58760ae2
children
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/uart/Makefile	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/Makefile	Sat Mar 07 23:55:47 2015 +0000
@@ -1,5 +1,21 @@
-# stub Makefile, to be filled out
-all:
+CC=	arm-elf-gcc
+LD=	arm-elf-ld
+
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
+CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
+	-I../../cdginc -DDTILIB
+
+OBJS=	uart_drxf.o uart_drxp.o uart_drxs.o \
+	uart_dtxf.o uart_dtxp.o uart_dtxs.o \
+	uart_kerf.o uart_kerp.o uart_kers.o uart_pei.o \
+	uart_rtf.o uart_rtp.o uart_rts.o \
+	uart_rxf.o uart_rxp.o uart_rxs.o \
+	uart_txf.o uart_txp.o uart_txs.o
+
+all:	xipcode.o
+
+xipcode.o:	${OBJS}
+	${LD} -r -o $@ ${OBJS}
 
 clean:
 	rm -f *.[oa] *.out *errs