Skip to content
Snippets Groups Projects
Commit 6fcd008c authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Add arquivos auxiliares a pasta libs

parent b339a9ee
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -10,7 +10,7 @@ test: main ...@@ -10,7 +10,7 @@ test: main
chmod +x runTests.sh; \ chmod +x runTests.sh; \
./runTests.sh ./runTests.sh
main: main.c tabuleiro.o filha.o main: main.c libs/jogador.o libs/tabuleiro.o libs/filha.o
$(CC) $(CFLAGS) -o $@ $^ $(CC) $(CFLAGS) -o $@ $^
clean: clean:
......
File moved
File moved
File moved
File moved
File moved
File moved
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
#include "tabuleiro.h" #include "libs/tabuleiro.h"
#include "jogador.h" #include "libs/jogador.h"
int main() { int main() {
Tblr t = criaTblr(); Tblr t = criaTblr();
...@@ -15,8 +15,8 @@ int main() { ...@@ -15,8 +15,8 @@ int main() {
imprimeTblr(t); imprimeTblr(t);
// declara o grafo ponderado e seu primeiro nodo // declara o grafo ponderado e seu primeiro nodo
grafo = criaGrafo(t); Nodo grafo = criaGrafo(t);
if(grafo == NULL)) { if(grafo == NULL) {
puts("Erro na criacao do grafo"); puts("Erro na criacao do grafo");
return -1; return -1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment