Start the informe #3

Merged
cromer merged 8 commits from informe into master 2018-11-06 14:38:15 -03:00
1 changed files with 9 additions and 5 deletions
Showing only changes of commit e4349fb014 - Show all commits

View File

@ -6,16 +6,20 @@ ODIR=obj
SRC=src/sort.c
OBJ=$(SRC:.c=.o)
all: sort informe
sort: $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f src/*.o sort
informe:
# if pdflatex is installed create the informe
ifneq (, $(shell which pdflatex))
make -C doc
mv doc/Informe.pdf Informe.pdf
endif
cleaninforme:
clean:
rm -f src/*.o sort Informe.pdf
make -C doc clean
.PHONY: sort clean informe cleaninforme
.PHONY: all clean informe