view Makefile @ 30:d7571dc2fecc

doc: encoder/generator portion is now just one part
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Jun 2024 23:16:04 +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: