changeset 757:833f2fee131b

sms_cp.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 11 Oct 2014 22:45:31 +0000
parents fe3e16263bb2
children 3b690364119a
files gsm-fw/g23m-gsm/sms/Makefile gsm-fw/g23m-gsm/sms/sms_cp.c
diffstat 2 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/sms/Makefile	Sat Oct 11 21:56:59 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/Makefile	Sat Oct 11 22:45:31 2014 +0000
@@ -1,5 +1,13 @@
-# 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
+
+OBJS=	sms_cp.o
+
+all:	${OBJS}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-gsm/sms/sms_cp.c	Sat Oct 11 21:56:59 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/sms_cp.c	Sat Oct 11 22:45:31 2014 +0000
@@ -22,6 +22,10 @@
 #ifndef SMS_CP_C
 #define SMS_CP_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_SMS
 
 /*==== INCLUDES ===================================================*/