FreeCalypso > hg > sms-coding-utils
view 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 | 367dce9bf5a7 |
children | 003660a57f99 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGDIR=enc-text LIBDIR= libcoding SUBDIR= ${PROGDIR} ${LIBDIR} INSTALL_PREFIX= /opt/freecalypso all: ${SUBDIR} enc-text: libcoding ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" clean: FRC rm -f a.out core errs for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done install: FRC mkdir -p ${INSTALL_PREFIX} for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ INSTALL_PREFIX=${INSTALL_PREFIX} install); done FRC: