FreeCalypso > hg > themwi-nanp
view libnumdb/Makefile @ 11:3d6cfb615d90
add make install hierarchy
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 13 Dec 2023 05:16:12 +0000 |
parents | 6534965175dd |
children | 78319ed870dc |
line wrap: on
line source
INSTALL_PREFIX= /opt/themwi CC= gcc CFLAGS= -O2 -I../build-inc OBJS= check_nanp.o check_short.o readbin.o refresh.o LIB= libnumdb.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