points/test/Makefile

18 lines
281 B
Makefile
Raw Permalink Normal View History

2018-12-04 14:40:14 -03:00
CC=gcc
CFLAGS=-Wall -I../src/include -DDEBUG -g
2018-12-08 19:35:02 -03:00
LDFLAGS=-lm
2018-12-04 14:40:14 -03:00
SRC=test.c
OBJ=$(SRC:.c=.o)
2018-12-12 11:43:12 -03:00
OBJ+=../src/read_file.o ../src/distance.o ../src/brute_force.o ../src/divide_and_conquer.o
2018-12-04 14:40:14 -03:00
all: test
test: $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f *.o test
.PHONY: all test clean