Last active
August 29, 2015 14:10
-
-
Save deryni/1c9055860b18083fac92 to your computer and use it in GitHub Desktop.
make -j2 test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=gcc | |
l.a : l.a(a.o) | |
ranlib l.a | |
echo done | |
l.a(a.o) : a.c | |
clean:: | |
rm -f l.a a.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch a.c | |
while { make clean; make -j2; } &> test.out; grep -q ranlib test.out; do echo -n .; done; echo | |
while { make clean; make -j2; } &> test.out.ranlib; ! grep -q ranlib test.out.ranlib; do echo -n .; done; echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output