From d39b83d932045eb91f9d6b87b5b3d1fe82fc5eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 18 Nov 2018 18:37:11 +0100 Subject: [PATCH] Switch scripts --- make.sh | 9 --------- make2.sh | 5 +++++ 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100755 make.sh create mode 100755 make2.sh diff --git a/make.sh b/make.sh deleted file mode 100755 index ce62687..0000000 --- a/make.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -clear; clear - -make - -if [ $? -eq 0 ]; then - ./PokittoEmu ./BUILD/firmware.bin $1 -fi diff --git a/make2.sh b/make2.sh new file mode 100755 index 0000000..6e5b564 --- /dev/null +++ b/make2.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +PROGRAM=testSDL + +clear; clear; g++ -x c -g -fmax-errors=5 -pedantic -Wall -Wextra -o $PROGRAM $PROGRAM.c -lSDL2 2>&1 >/dev/null && ./$PROGRAM