2021-04-20 16:12:44 +00:00
|
|
|
CC = gcc
|
|
|
|
LDFLAGS = -Wall
|
|
|
|
|
|
|
|
all: minishell
|
|
|
|
|
2021-05-10 13:49:14 +00:00
|
|
|
minishell: jobs.c readcmd.c minishell.c
|
2021-04-20 16:12:44 +00:00
|
|
|
$(CC) $(LDFLAGS) $^ -o $@
|
|
|
|
|
|
|
|
clean:
|
2021-05-10 13:49:14 +00:00
|
|
|
rm minishell readcmd jobs
|
2021-04-20 16:12:44 +00:00
|
|
|
|
|
|
|
.PHONY: clean all
|
|
|
|
|
|
|
|
readcmd.o: readcmd.h
|
2021-05-10 13:49:14 +00:00
|
|
|
jobs.o: jobs.h
|