@brief Makefile do Programa Algoritmos de Busca
@details Projeto 1 da disciplina IMD0030 LP1, ministrada pelo Prof. Silvio Sampaio no curso BTI da UFRN.
@author David Cardoso
@date 10/09/2016
@copyright (c) 2016 - All rights reserveds
PROG = busca.exe
CC = g++
CPPFLAGS = -std=c++11 -Wall -pedantic -g -O0
OBJS = main.o aux.o searchs.o
"$(PROG):$(OBJS)"
"$(CC) -o $(PROG) $(OBJS)"
main.o: aux.h searchs.h main.cpp
"$(CC) $(CPPFLAGS) -c main.cpp"
searchs.o: searchs.h searchs.cpp
"$(CC) $(CPPFLAGS) -c searchs.cpp"
aux.o: aux.h aux.cpp
"$(CC) $(CPPFLAGS) -c aux.cpp"
clean:
rm -f core $(PROG) $(OBJS)
valgrind:
valgrind -v --leak-check=full --show-reachable=yes --track-origins=yes ./$(PROG) 2000000 4000000 BSI
upstack:
sudo ulimit -s unlimited
downstack:
sudo ulimit -s 8192
run:
./AUTORUN.md
rmcsv:
rm csv/*.csv