diff gsm-fw/g23m-aci/dti/Makefile @ 778:ac329f4627ac

gsm-fw/g23m-aci/dti compiles into libdti.a
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Sat, 07 Mar 2015 23:00:01 +0000
parents 5a0c58760ae2
children
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/dti/Makefile	Sat Mar 07 22:31:27 2015 +0000
+++ b/gsm-fw/g23m-aci/dti/Makefile	Sat Mar 07 23:00:01 2015 +0000
@@ -1,5 +1,18 @@
-# stub Makefile, to be filled out
-all:
+CC=	arm-elf-gcc
+AR=	arm-elf-ar
+RANLIB=	arm-elf-ranlib
+
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
+CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
+	-I../../cdginc
+
+OBJS=	dti_int.o dti_kerf.o dti_kerp.o
+
+all:	libdti.a
+
+libdti.a:	${OBJS}
+	${AR} cru $@ ${OBJS}
+	${RANLIB} $@
 
 clean:
 	rm -f *.[oa] *.out *errs