FreeCalypso > hg > themwi-nanp
view libnumutil/Makefile @ 11:3d6cfb615d90
add make install hierarchy
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 13 Dec 2023 05:16:12 +0000 |
parents | 159dd90eeafe |
children | 78319ed870dc |
line wrap: on
line source
INSTALL_PREFIX= /opt/themwi CC= gcc CFLAGS= -O2 -I../build-inc OBJS= digit_groups.o nanp_valid.o numstring.o LIB= libnumutil.a INSTDIR=${INSTALL_PREFIX}/lib all: ${LIB} ${LIB}: ${OBJS} ar rcu $@ ${OBJS} ranlib $@ install: mkdir -p ${INSTDIR} install -c -m 644 ${LIB} ${INSTDIR} clean: rm -f *.[oa] errs