redirect #17
4
Makefile
4
Makefile
@ -5,7 +5,7 @@ FILENAME=myshellin
|
|||||||
SRC=src/myshellin.c src/loop.c src/console_line.c src/array.c src/builtins.c src/launch.c src/utils.c src/redirect.c
|
SRC=src/myshellin.c src/loop.c src/console_line.c src/array.c src/builtins.c src/launch.c src/utils.c src/redirect.c
|
||||||
OBJ=$(SRC:.c=.o)
|
OBJ=$(SRC:.c=.o)
|
||||||
|
|
||||||
all: myshellin
|
all: myshellin informe
|
||||||
|
|
||||||
myshellin: $(OBJ)
|
myshellin: $(OBJ)
|
||||||
$(CC) $(CFLAGS) -o $(FILENAME) $^ $(LDFLAGS)
|
$(CC) $(CFLAGS) -o $(FILENAME) $^ $(LDFLAGS)
|
||||||
@ -20,7 +20,7 @@ else ifneq (, $(shell which pdftex))
|
|||||||
mv doc/Informe.pdf Informe.pdf
|
mv doc/Informe.pdf Informe.pdf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean: cleanmyshellin
|
clean: cleanmyshellin cleaninforme
|
||||||
|
|
||||||
cleanmyshellin:
|
cleanmyshellin:
|
||||||
rm -f src/*.o $(FILENAME)
|
rm -f src/*.o $(FILENAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user