comparison gen-pdu/Makefile @ 9:003660a57f99

new program sms-gen-tpdu
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 05 Aug 2023 07:43:45 +0000
parents enc-text/Makefile@a16b1b9728f6
children 2a19b44c272e
comparison
equal deleted inserted replaced
8:265b8103530c 9:003660a57f99
1 CC= gcc
2 CFLAGS= -O2
3 PROG= sms-gen-tpdu
4 OBJS= auto_scts.o input.o main.o message.o settings.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}