seperate targets for program and informe

This commit is contained in:
2018-11-06 14:34:22 -03:00
parent e4349fb014
commit 711ec338ce

View File

@@ -2,7 +2,6 @@ CC=gcc
CFLAGS=-Wall -Werror
CPPFLAGS+=-Isrc/include
#LDFLAGS=-lm
ODIR=obj
SRC=src/sort.c
OBJ=$(SRC:.c=.o)
@@ -18,8 +17,12 @@ ifneq (, $(shell which pdflatex))
mv doc/Informe.pdf Informe.pdf
endif
clean:
clean: cleansort cleaninforme
cleansort:
rm -f src/*.o sort Informe.pdf
cleaninforme:
make -C doc clean
.PHONY: all clean informe
.PHONY: all sort informe clean cleansort cleaninforme