seperate targets for program and informe
This commit is contained in:
parent
e4349fb014
commit
711ec338ce
9
Makefile
9
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user