points/test/Makefile

18 lines
252 B
Makefile
Raw 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-08 19:35:02 -03:00
OBJ+=../src/read_file.o ../src/distance.o ../src/brute_force.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