FreeCalypso > hg > freecalypso-tools
comparison uptools/atcmd/Makefile @ 373:1fa4dcbb1c87
fcup-smsendmult program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 08 Mar 2018 19:47:40 +0000 |
parents | 1e7c6fcb9abe |
children | a38805b5b6d4 |
comparison
equal
deleted
inserted
replaced
372:1e7c6fcb9abe | 373:1fa4dcbb1c87 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fcup-at fcup-smdump fcup-smsend | 3 PROGS= fcup-at fcup-smdump fcup-smsend fcup-smsendmult |
4 INSTBIN=/opt/freecalypso/bin | 4 INSTBIN=/opt/freecalypso/bin |
5 | 5 |
6 LIBCODING= ../libcoding/libcoding.a | 6 LIBCODING= ../libcoding/libcoding.a |
7 | 7 |
8 ATCMD_OBJS= atcmd.o atinterf.o | 8 ATCMD_OBJS= atcmd.o atinterf.o |
9 | 9 |
10 SMDUMP_OBJS= atinterf.o resp_parse.o smdump.o ${LIBCODING} | 10 SMDUMP_OBJS= atinterf.o resp_parse.o smdump.o ${LIBCODING} |
11 | 11 |
12 SMSEND_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_concat.o \ | 12 SMSEND_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_concat.o \ |
13 smsend_main.o smsend_pduout.o smsend_text.o ${LIBCODING} | 13 smsend_main.o smsend_pduout.o smsend_text.o ${LIBCODING} |
14 | |
15 SMSENDM_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_multmain.o \ | |
16 smsend_pduout.o smsend_text.o ${LIBCODING} | |
14 | 17 |
15 all: ${PROGS} | 18 all: ${PROGS} |
16 | 19 |
17 fcup-at: ${ATCMD_OBJS} | 20 fcup-at: ${ATCMD_OBJS} |
18 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS} | 21 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS} |
21 ${CC} ${CFLAGS} -o $@ ${SMDUMP_OBJS} | 24 ${CC} ${CFLAGS} -o $@ ${SMDUMP_OBJS} |
22 | 25 |
23 fcup-smsend: ${SMSEND_OBJS} | 26 fcup-smsend: ${SMSEND_OBJS} |
24 ${CC} ${CFLAGS} -o $@ ${SMSEND_OBJS} | 27 ${CC} ${CFLAGS} -o $@ ${SMSEND_OBJS} |
25 | 28 |
29 fcup-smsendmult: ${SMSENDM_OBJS} | |
30 ${CC} ${CFLAGS} -o $@ ${SMSENDM_OBJS} | |
31 | |
26 install: ${PROGS} | 32 install: ${PROGS} |
27 mkdir -p ${INSTBIN} | 33 mkdir -p ${INSTBIN} |
28 install -c ${PROGS} ${INSTBIN} | 34 install -c ${PROGS} ${INSTBIN} |
29 | 35 |
30 clean: | 36 clean: |