points/test/Makefile
2018-12-08 19:35:02 -03:00

18 lines
252 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
all: test
test: $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f *.o test
.PHONY: all test clean