Skip to content

Commit

Permalink
Fix bug in Makefile and shared builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kfv committed Jul 1, 2022
1 parent 4c8cf95 commit 5173c06
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ all: ${DEPS}
@if [ ! -d build ]; then \
mkdir build; \
fi
@for i in $?; do \
ln -sf ${ROOTDIR}/build \
${ROOTDIR}/deps/$${i#*/}/build; \
make -C ${ROOTDIR}/deps/$${i#*/}; \
@for i in $?; do \
cp -r ${ROOTDIR}/build \
${ROOTDIR}/deps/$${i#*/}/build; \
make -C ${ROOTDIR}/deps/$${i#*/}; \
cp -r ${ROOTDIR}/deps/$${i#*/}/build/* \
${ROOTDIR}/build/; \
done
@cd build; voc -s ${ROOTDIR}/../src/mnshList.Mod \
${ROOTDIR}/../src/mnshDefs.Mod \
${ROOTDIR}/../src/mnshStorage.Mod \
${ROOTDIR}/../src/mnshExtTools.Mod \
${ROOTDIR}/../src/manush.Mod -M


${DEPS}:
@for i in $@; do \
if [ -d deps/$${i#*/} ]; then \
Expand Down

0 comments on commit 5173c06

Please sign in to comment.