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