forked from prandogabriel/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
runTAD.sh
executable file
·22 lines (19 loc) · 993 Bytes
/
runTAD.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
#########################################################################
#
# compilaTAD.sh - compilar TAD e executar
#
# Autor: Gabriel Prando ([email protected])
# Data Criação: 26/12/2019
#
# Descrição: Script para compilar TAD em C e executar
# passando o nome do arquivo das funções e o usa_arquivo .c
# como parêmetro
# #
# Exemplo de uso: ./compila.sh arquivo1.c usa_arquivo.c
#
#########################################################################
clear
gcc $1 $2 -o teste
./teste
echo ""