view uptools/libcoding/Makefile @ 405:ed9b67e7e741

fcup-smsend: fixed bug in the handling of -W with no dest address argument The original code checked for argv[optind+1] when argv[optind] is NULL; on most systems this bogus code gets the first line of the environment, which is clearly not what we are after. Fixed the code to check argc instead.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Aug 2018 18:59:54 +0000
parents f7228c18463a
children f023a1c187a9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	alpha_addr.o decode_helpers.o grokdcs.o gsm7_decode.o \
	gsm7_decode_tables.o gsm7_encode.o gsm7_encode_table.o gsm7_pack.o \
	gsm7_unpack.o gsmtime.o hexdecode.o hexdump.o hexencode.o \
	number_decode.o number_encode.o scaddr.o sms_submit.o sms_submit8.o \
	ucs2_bigend.o ucs2_decode.o utf8_decode.o utf8_decode2.o
LIB=	libcoding.a

all:	${LIB}

${LIB}:	${OBJS}
	ar rcu $@ ${OBJS}
	ranlib $@

clean:
	rm -f *.[oa] errs