points/test/Makefile

17 lines
217 B
Makefile
Raw Normal View History

2018-12-04 14:40:14 -03:00
CC=gcc
CFLAGS=-Wall -I../src/include -DDEBUG -g
SRC=test.c
OBJ=$(SRC:.c=.o)
2018-12-08 15:40:36 -03:00
OBJ+=../src/random.o ../src/read_file.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