2018-11-11 18:20:01 -03:00
|
|
|
CC=gcc
|
|
|
|
CFLAGS=-Wall -I../src/include -DDEBUG -g
|
|
|
|
SRC=test.c
|
|
|
|
OBJ=$(SRC:.c=.o)
|
2018-11-13 11:59:21 -03:00
|
|
|
OBJ+=../src/random.o ../src/bubble_sort.o ../src/timer.o ../src/quick_sort.o
|
2018-11-11 18:20:01 -03:00
|
|
|
|
|
|
|
all: test
|
|
|
|
|
|
|
|
test: $(OBJ)
|
|
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o test
|
|
|
|
|
|
|
|
.PHONY: all test clean
|