view Makefile @ 11:b4b4a822286c default tip

add INSTALL
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 21 May 2024 01:06:04 +0000
parents 2c022e0334c4
children
line wrap: on
line source

PROGDIR=gen smswrap test
LIBDIR=	libutil
SUBDIR=	${PROGDIR} ${LIBDIR}
DESTDIR=

all:	${SUBDIR}

gen:		libutil
smswrap:	libutil
test:		libutil

${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: