Makefile 259 Bytes
Newer Older
1
CFLAGS = -std=c99 -O2 -W -Wall -g
2 3 4 5 6

.PHONY: all clean

all: main

Vytor Calixto's avatar
Vytor Calixto committed
7
main: main.c libs/jogador.o libs/tabuleiro.o libs/grafo.o libs/vertice.o libs/filha.o libs/lista.o libs/no.o
8
	$(CC) $(CFLAGS) -o $@ $^ -lm
9 10 11

clean:
	$(RM) *.o
Vytor Calixto's avatar
Vytor Calixto committed
12
	$(RM) libs/*.o
Vytor Calixto's avatar
Vytor Calixto committed
13
	$(RM) tests/*.time