comparison uptools/atcmd/Makefile @ 384:3eb92855f7b9

fcup-smsendpdu program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 09 Mar 2018 03:29:40 +0000
parents a38805b5b6d4
children ce3b57b8920b
comparison
equal deleted inserted replaced
383:f8c693d16978 384:3eb92855f7b9
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fcup-at fcup-smdump fcup-smsend fcup-smsendmult 3 PROGS= fcup-at fcup-smdump fcup-smsend fcup-smsendmult fcup-smsendpdu
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
14 ${LIBCODING} 14 ${LIBCODING}
15 15
16 SMSENDM_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_multmain.o \ 16 SMSENDM_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_multmain.o \
17 smsend_pdugen.o smsend_pduout.o smsend_text.o ${LIBCODING} 17 smsend_pdugen.o smsend_pduout.o smsend_text.o ${LIBCODING}
18 18
19 SMSENDP_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_pduin.o \
20 smsend_pduout.o ${LIBCODING}
21
19 all: ${PROGS} 22 all: ${PROGS}
20 23
21 fcup-at: ${ATCMD_OBJS} 24 fcup-at: ${ATCMD_OBJS}
22 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS} 25 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS}
23 26
28 ${CC} ${CFLAGS} -o $@ ${SMSEND_OBJS} 31 ${CC} ${CFLAGS} -o $@ ${SMSEND_OBJS}
29 32
30 fcup-smsendmult: ${SMSENDM_OBJS} 33 fcup-smsendmult: ${SMSENDM_OBJS}
31 ${CC} ${CFLAGS} -o $@ ${SMSENDM_OBJS} 34 ${CC} ${CFLAGS} -o $@ ${SMSENDM_OBJS}
32 35
36 fcup-smsendpdu: ${SMSENDP_OBJS}
37 ${CC} ${CFLAGS} -o $@ ${SMSENDP_OBJS}
38
33 install: ${PROGS} 39 install: ${PROGS}
34 mkdir -p ${INSTBIN} 40 mkdir -p ${INSTBIN}
35 install -c ${PROGS} ${INSTBIN} 41 install -c ${PROGS} ${INSTBIN}
36 42
37 clean: 43 clean: