16 lines
205 B
Makefile
16 lines
205 B
Makefile
CC = gcc
|
|
LDFLAGS = -Wall
|
|
|
|
all: minishell
|
|
|
|
minishell: jobs.c readcmd.c minishell.c
|
|
$(CC) $(LDFLAGS) $^ -o $@
|
|
|
|
clean:
|
|
rm minishell readcmd jobs
|
|
|
|
.PHONY: clean all
|
|
|
|
readcmd.o: readcmd.h
|
|
jobs.o: jobs.h
|