comparison uptools/sms-pdu-decode/Makefile @ 598:9f7a263ad7f0

sms-pdu-decode split in preparation for pcm-sms-decode addition
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Feb 2020 00:48:28 +0000
parents 90d7c360a614
children 31e219088cd6
comparison
equal deleted inserted replaced
597:ca4433b714d2 598:9f7a263ad7f0
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= sms-pdu-decode 3 PROGS= sms-pdu-decode
4 LIB= ../libcoding/libcoding.a 4 LIB= ../libcoding/libcoding.a
5 OBJS= ${PROG}.o ${LIB} 5
6 OBJS1= pdu-common.o sms-pdu-decode.o ${LIB}
6 7
7 INSTALL_PREFIX= /opt/freecalypso 8 INSTALL_PREFIX= /opt/freecalypso
8 9
9 INSTBIN=${INSTALL_PREFIX}/bin 10 INSTBIN=${INSTALL_PREFIX}/bin
10 11
11 all: ${PROG} 12 all: ${PROGS}
12 13
13 ${PROG}: ${OBJS} 14 sms-pdu-decode: ${OBJS1}
14 ${CC} ${CFLAGS} -o $@ ${OBJS} 15 ${CC} ${CFLAGS} -o $@ ${OBJS1}
15 16
16 install: 17 install:
17 mkdir -p ${INSTBIN} 18 mkdir -p ${INSTBIN}
18 install -c ${PROG} ${INSTBIN} 19 install -c ${PROGS} ${INSTBIN}
19 20
20 clean: 21 clean:
21 rm -f ${PROG} *.o *errs *.out 22 rm -f ${PROGS} *.o *errs *.out