do_build.sh 195 B

12345678910
  1. #!/usr/bin/bash
  2. echo "CC $1"
  3. # well, that's very, very, very ugly, but at least it works :-(
  4. # $2: CC, $3: directory to enter, and $4 is the CC flags
  5. cd $3
  6. $2 $4 -c $1 -o $1.o