view uptools/libcoding/Makefile @ 470:1d5bd9a06781

rvinterf tree Makefiles: split CPPFLAGS from CFLAGS This change is in preparation for allowing CFLAGS to be overridden by users and package builders.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 12 Feb 2019 00:00:18 +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