redirect #17

Merged
cromer merged 22 commits from redirect into master 2021-07-27 23:36:31 -04:00
Showing only changes of commit 21b58c53f2 - Show all commits

View File

@ -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)