mirror of
https://github.com/bstansell/conserver.git
synced 2025-01-11 15:32:57 +00:00
32 lines
683 B
Makefile
32 lines
683 B
Makefile
# $Id: Makefile,v 1.3 1999-01-14 13:30:09-08 bryan Exp $
|
|
#
|
|
# Master Makefile
|
|
#
|
|
|
|
SUBDIRS=conserver console
|
|
|
|
all clean install: FRC
|
|
@if [ -f .settings ]; then \
|
|
s=`cat .settings | grep -v '^#'`; \
|
|
settings=`echo $$s`; \
|
|
for s in ${SUBDIRS}; do \
|
|
( cd $$s; eval ${MAKE} $$settings $@ ) \
|
|
done; \
|
|
else \
|
|
echo "Please run 'make config' to set up platform type"; \
|
|
exit; \
|
|
fi
|
|
|
|
config:
|
|
@p=`port/system 2>/dev/null`; \
|
|
if [ -n "$$p" ]; then \
|
|
rm -f .settings; \
|
|
ln -s port/$$p .settings; \
|
|
echo "Configured for $$p"; \
|
|
else \
|
|
echo "*** Can't determine system type."; \
|
|
echo "*** See ./port for porting issues."; \
|
|
fi
|
|
|
|
FRC:
|