source: tools/grab/make.sh @ 32625

Last change on this file since 32625 was 7529, checked in by obi, 13 years ago

[tools] update some makefiles

  • Property svn:executable set to *
File size: 459 bytes
Line 
1STM=$1
2
3if [ -z "$STM" ]; then
4        echo "error: use ./make.sh <stm22|stm23|stm24>"
5        exit 1
6fi
7cd $HOME/tools/grab
8
9"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-gcc  -Wall -Os -c readpng.c -o readpng.o
10
11"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-gcc -Os -Wall -ljpeg -lpng -lz readpng.o main.c -o grab
12
13"$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-strip grab
Note: See TracBrowser for help on using the repository browser.