add ls; simpler pwd
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,8 +1,8 @@
|
||||
include config.mk
|
||||
|
||||
LIB = util/afgets.o util/enmasse.o util/eprintf.o util/recurse.o
|
||||
LIB = util/afgets.o util/agetcwd.o util/enmasse.o util/eprintf.o util/recurse.o
|
||||
SRC = basename.c cat.c chown.c date.c dirname.c echo.c false.c grep.c head.c \
|
||||
ln.c mkfifo.c pwd.c rm.c sleep.c tee.c touch.c true.c wc.c
|
||||
ln.c ls.c mkfifo.c pwd.c rm.c sleep.c tee.c touch.c true.c wc.c
|
||||
OBJ = $(SRC:.c=.o) $(LIB)
|
||||
BIN = $(SRC:.c=)
|
||||
MAN = $(SRC:.c=.1)
|
||||
@@ -11,7 +11,7 @@ all: $(BIN)
|
||||
|
||||
$(OBJ): util.h
|
||||
$(BIN): util.a
|
||||
grep: text.h
|
||||
grep.o: text.h
|
||||
|
||||
.o:
|
||||
@echo CC -o $@
|
||||
|
Reference in New Issue
Block a user