comparison enc-text/Makefile @ 2:a16b1b9728f6

enc-text: sms-encode-text program written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 05 Aug 2023 02:07:22 +0000
parents
children 2a19b44c272e
comparison
equal deleted inserted replaced
1:13518c86b73c 2:a16b1b9728f6
1 CC= gcc
2 CFLAGS= -O2
3 PROG= sms-encode-text
4 OBJS= concat_refno.o gsm7.o main.o ucs2.o
5 LIBS= ../libcoding/libcoding.a
6
7 INSTALL_PREFIX= /opt/freecalypso
8
9 INSTBIN=${INSTALL_PREFIX}/bin
10
11 all: ${PROG}
12
13 ${PROG}: ${OBJS} ${LIBS}
14 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
15
16 install: ${PROG}
17 mkdir -p ${INSTBIN}
18 install -c ${PROG} ${INSTBIN}
19
20 clean:
21 rm -f *.o *.out *errs ${PROG}