view Makefile @ 32:829e082793d0

new README
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Jun 2024 19:42:25 +0000
parents aae078d9eaa6
children
line wrap: on
line source

PROGDIR=decode enc-text gen-pdu scripts
LIBDIR=	libcoding
SUBDIR=	${PROGDIR} ${LIBDIR}
DESTDIR=

all:	${SUBDIR}

decode:		libcoding
enc-text:	libcoding
gen-pdu:	libcoding

${SUBDIR}: FRC config.defs
	cd $@; ${MAKE} ${MFLAGS}

config.defs:
	@echo 'You must run ./configure before make'
	@false

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

install: FRC
	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
		DESTDIR=${DESTDIR} install); done

FRC: