qse/ase/makefile.in

66 lines
867 B
Makefile

#
# $Id: makefile.in,v 1.19 2007-04-06 14:39:58 bacon Exp $
#
LIBDIRS = cmn awk lsp utl
MODE = @BUILDMODE@
LIBTOOL_DEPS = @LIBTOOL_DEPS@
all: libs #incs
incs:
@for i in $(LIBDIRS); \
do \
if [ ! -d $$i ]; \
then \
echo Error: $$i not a directory; \
exit 1; \
fi; \
cd $$i; \
if make inc; \
then \
echo > /dev/null; \
else \
exit 1; \
fi; \
cd ..; \
done
libs:
@for i in $(LIBDIRS); \
do \
if [ ! -d $$i ]; \
then \
echo Error: $$i not a directory; \
exit 1; \
fi; \
cd $$i; \
if make lib; \
then \
echo > /dev/null; \
else \
exit 1; \
fi; \
cd ..; \
done
clean:
@for i in $(LIBDIRS); \
do \
if [ ! -d $$i ]; \
then \
echo Error: $$i not a directory; \
exit 1; \
fi; \
cd $$i; \
if make $@; \
then \
echo > /dev/null; \
else \
exit 1; \
fi; \
cd ..; \
done