view gen-pdu/Makefile @ 24:f0139d74d3aa

doc/Tool-workflow: document sms-encode-text -e option
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 02 Sep 2023 19:45:47 +0000
parents 003660a57f99
children 2a19b44c272e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sms-gen-tpdu
OBJS=	auto_scts.o input.o main.o message.o settings.o
LIBS=	../libcoding/libcoding.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

${PROG}:	${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

install:	${PROG}
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

clean:
	rm -f *.o *.out *errs ${PROG}