make/update-rules.sh

changeset 77
808a7324b467
parent 76
c2a4fb5024b4
equal deleted inserted replaced
76:c2a4fb5024b4 77:808a7324b467
1 #!/bin/sh 1 #!/bin/sh
2 2
3 dir='src' 3 dir="$1"
4 target='$(BUILDDIR)' 4 target='$(BUILDDIR)'
5 5
6 if [ -z "$CC" ]; then 6 if [ -z "$CC" ]; then
7 for cc in gcc clang ; do 7 for cc in gcc clang ; do
8 if command -v "$cc" > /dev/null ; then 8 if command -v "$cc" > /dev/null ; then

mercurial