DIRS def before include of RULES_TOP

This commit is contained in:
Jeff Hill
1996-07-25 21:07:39 +00:00
parent 4b47e7a979
commit dbe9f90ac1
+4 -2
View File
@@ -56,10 +56,10 @@ EPICS_BASE=`sed -e "s%EPICS_BASE=%%" < EPICS_BASE`
if [ ! -f Makefile ]; then
cat > Makefile <<-\END
DIRS +=
TOP = .
include $(TOP)/config/CONFIG_APP
include $(EPICS_BASE)/config/RULES_TOP
DIRS =
END
fi
@@ -89,7 +89,9 @@ do
if [ -d "${APPNAME}" ]; then continue; fi
mkdir ${APPNAME}
if [ $? -ne 0 ]; then Cleanup 1 "$USAGE"; fi
echo "DIRS += ${APPNAME}" >> Makefile
echo "DIRS += ${APPNAME}" > /tmp/'$$'.makeBaseApp.Makefile
cat Makefile >> /tmp/'$$'.makeBaseApp.Makefile
mv -f /tmp/'$$'.makeBaseApp.Makefile Makefile
cd ${APPNAME}
cat > Makefile <<-\END
TOP = ..