source: tools/grab/make.sh @ 28036

Last change on this file since 28036 was 7529, checked in by obi, 12 years ago

[tools] update some makefiles

  • Property svn:executable set to *
File size: 459 bytes
RevLine 
[7529]1STM=$1
[4899]2
[7529]3if [ -z "$STM" ]; then
4        echo "error: use ./make.sh <stm22|stm23|stm24>"
5        exit 1
6fi
7cd $HOME/tools/grab
[4899]8
[7529]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.