Minor fixes

echo to echo -e
add build.sh to .gitignore
This commit is contained in:
Emil 2023-08-04 04:51:06 -06:00
parent 8f1f476fcb
commit 50ad0a7656
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ probotic
config.h config.h
.gdb_history .gdb_history
*.sqlite *.sqlite
build.sh

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# Simple script handling unity builds and options. # Script handling unity builds and options.
DIR=$(dirname $(readlink -f "$0")) DIR=$(dirname $(readlink -f "$0"))
cd $DIR cd $DIR
@ -27,4 +27,4 @@ fi
echo "$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS" echo "$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS"
$CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS $CC $CFLAGS -pipe $DIR/src/unity.c -o $PREFIX/$PROGN $CPPFLAGS $LDFLAGS
echo "\nStatus: $?" echo -e "\nStatus: $?"