sort/Makefile

22 lines
273 B
Makefile
Raw Normal View History

2018-11-05 15:04:04 -03:00
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
2018-11-06 14:06:23 -03:00
informe:
make -C doc
cleaninforme:
make -C doc clean
.PHONY: sort clean informe cleaninforme