fcds-lab-2015/c_sequential/bucketsort/Makefile

21 lines
286 B
Makefile
Raw Normal View History

2015-04-25 13:31:21 +00:00
CC = gcc
FLAGS = -O3 -Wall -Wno-unused-result
SRC = bucketsort.c main.c
EXEC = bin/bucketsort
all: make_dirs $(EXEC)
clean:
rm -f -r bin
make_dirs:
mkdir -p bin
$(EXEC): $(SRC)
$(CC) $(FLAGS) $^ -o $@
run:
./$(EXEC) input/medium.in input/medium.out