fix incorrect target

This commit is contained in:
Chris Cromer 2021-07-23 13:53:49 -04:00
parent 96b6d766b2
commit f621bf5863

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: shell informe all: shell report
shell: $(OBJ) shell: $(OBJ)
$(CC) $(CFLAGS) -o $(FILENAME) $^ $(LDFLAGS) $(CC) $(CFLAGS) -o $(FILENAME) $^ $(LDFLAGS)