view enc-text/Makefile @ 7:cd2d82ec5144

libcoding/hexdigits.c: import from fc-sim-tools/libutil
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 05 Aug 2023 06:32:37 +0000
parents a16b1b9728f6
children 2a19b44c272e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sms-encode-text
OBJS=	concat_refno.o gsm7.o main.o ucs2.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}