[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/ccapp/Makefile b/ap/app/ccapp/Makefile
new file mode 100755
index 0000000..f108b1e
--- /dev/null
+++ b/ap/app/ccapp/Makefile
@@ -0,0 +1,86 @@
+# /*****************************************************************************
+#* °戨?? (C)2015, ????1???????£
+#*
+#* ?? Makefile
+#* ?? Makefile
+#* ě???: Makefile of ZTE applications
+#* ??·?·¨:
+#*
+#* О???? °汾o? О??? О??? О????
+ #* -----------------------------------------------------------------------------
+#* 2015/12/31 V2.2 Create 1?° ′′?¨
+#*
+# ******************************************************************************/
+
+#*******************************************************************************
+# include ZTE application makefile
+#*******************************************************************************
+include $(COMMON_MK)
+
+#*******************************************************************************
+# execute
+#*******************************************************************************
+EXEC = ccapp
+#EXEC2 = slictool
+#*******************************************************************************
+# objects
+#*******************************************************************************
+OBJS = cc_main.o cc_proc.o cc_timer.o cc_at.o cc_com.o slic_inf.o libzte_log.o
+OBJS2 = slic_tool.o slic_inf.o
+#*******************************************************************************
+# include path
+#*******************************************************************************
+CFLAGS += -I../include \
+ -I$(zte_lib_path)/libsoft_timer \
+ -I$(zte_lib_path)/libvoice/include \
+ -I$(zte_lib_path)/libsqlite
+CFLAGS += -g -Werror=implicit-function-declaration
+#*******************************************************************************
+# macro definition
+#*******************************************************************************
+ifeq ($(_APP_AUDIO_TYPE_),slic_le96xx)
+CFLAGS +=-DUSE_SLIC_TW
+endif
+
+#*******************************************************************************
+# library
+#*******************************************************************************
+LDLIBS += -lpthread
+LDLIBS += -lnvram_sc
+LDLIBS += -lsoftap
+LDLIBS += -lsoft_timer_sc
+LDLIBS += -ltinyalsa
+LDLIBS += -lvoice
+
+#*******************************************************************************
+# library path
+#*******************************************************************************
+LDLIBS += -L$(zte_lib_path)/libnvram
+LDLIBS += -L$(zte_lib_path)/libsoftap
+LDLIBS += -L$(zte_lib_path)/libsoft_timer
+LDLIBS += -L$(zte_lib_path)/libtinyalsa
+LDLIBS += -L$(zte_lib_path)/libvoice
+
+#LDFLAGS += -Wl,-elf2flt=-s32768
+#$(info ------------------------------------$(zte_lib_path))
+
+#*******************************************************************************
+# targets
+#*******************************************************************************
+all: $(EXEC) $(EXEC2)
+
+$(EXEC): $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) -Wl,--start-group $(LDLIBS) -Wl,--end-group
+$(EXEC2): $(OBJS2)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS2) -Wl,--start-group $(LDLIBS) -Wl,--end-group
+
+romfs:
+ cp $(EXEC) $(EXEC).elf
+ $(ROMFSINST) /bin/$(EXEC)
+# $(ROMFSINST) /bin/$(EXEC2)
+
+clean:
+ -rm -f $(EXEC) $(EXEC2) *.elf *.gdb *.o
+
+
+