comparison uptools/atcmd/Makefile @ 352:02d6c8469535

fcup-smdump implemented, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 05 Feb 2018 08:47:45 +0000
parents 64dcbabd48ca
children 89fe66cb60f6
comparison
equal deleted inserted replaced
351:f0e9bb28b4d6 352:02d6c8469535
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fcup-at 3 PROGS= fcup-at fcup-smdump
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}
11
10 all: ${PROGS} 12 all: ${PROGS}
11 13
12 fcup-at: ${ATCMD_OBJS} 14 fcup-at: ${ATCMD_OBJS}
13 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS} 15 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS}
16
17 fcup-smdump: ${SMDUMP_OBJS}
18 ${CC} ${CFLAGS} -o $@ ${SMDUMP_OBJS}
14 19
15 install: ${PROGS} 20 install: ${PROGS}
16 mkdir -p ${INSTBIN} 21 mkdir -p ${INSTBIN}
17 install -c ${PROGS} ${INSTBIN} 22 install -c ${PROGS} ${INSTBIN}
18 23