-
Notifications
You must be signed in to change notification settings - Fork 3
/
run.sh
executable file
·22 lines (19 loc) · 910 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
#########################################################################
#
# compila.sh - compilar e executar arquivo em C
#
# Autor: Gabriel Prando (gprando55@gmail.com)
# Data Criação: 26/12/2019
#
# Descrição: Script para compilar arquivo C e executar
# passando o nome do arquivo .c como parêmetro
#
#
# Exemplo de uso: ./compila.sh arquivo.c
#
#########################################################################
clear
gcc $1 -o teste
./teste
echo ""