sort/Makefile

22 lines
273 B
Makefile

CC=gcc
CFLAGS=-Wall -Werror
CPPFLAGS+=-Isrc/include
#LDFLAGS=-lm
ODIR=obj
SRC=src/sort.c
OBJ=$(SRC:.c=.o)
sort: $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f src/*.o sort
informe:
make -C doc
cleaninforme:
make -C doc clean
.PHONY: sort clean informe cleaninforme