Skip to content
Snippets Groups Projects
Commit 7bbcad2b authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Serialize the targets to make make work properly with -j.

Rev: Makefile:1.10
parent 53acc236
No related merge requests found
#
# $Id: Makefile,v 1.9 1999/05/10 18:58:27 mast Exp $
# $Id: Makefile,v 1.10 1999/05/24 06:07:36 mast Exp $
#
# Meta Makefile
#
......@@ -67,13 +67,13 @@ compile: configure
@builddir="$(BUILDDIR)"; \
metatarget="$(METATARGET)"; \
test -f "$$builddir"/pike || metatarget="new_peep_engine pike $$metatarget"; \
cd "$$builddir" && ( \
echo Making in "$$builddir"; \
cd "$$builddir" && for target in all $$metatarget; do \
echo Making $$target in "$$builddir"; \
rm -f remake; \
$(MAKE) "MAKE=$(MAKE)" all $$metatarget || ( \
test -f remake && $(MAKE) "MAKE=$(MAKE)" all $$metatarget \
$(MAKE) "MAKE=$(MAKE)" $$target || ( \
test -f remake && $(MAKE) "MAKE=$(MAKE)" $$target \
) \
)
done
bin/pike: force
sed -e "s|\"BASEDIR\"|\"`pwd`\"|" < bin/pike.in > bin/pike
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment