points/test/Makefile
2018-12-12 11:43:12 -03:00

18 lines
281 B
Makefile

CC=gcc
CFLAGS=-Wall -I../src/include -DDEBUG -g
LDFLAGS=-lm
SRC=test.c
OBJ=$(SRC:.c=.o)
OBJ+=../src/read_file.o ../src/distance.o ../src/brute_force.o ../src/divide_and_conquer.o
all: test
test: $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f *.o test
.PHONY: all test clean