reformat makefile
This commit is contained in:
parent
894b42a885
commit
59e09c9963
40
Makefile
40
Makefile
|
@ -1,12 +1,42 @@
|
|||
include config.mk
|
||||
|
||||
HDR = text.h util.h
|
||||
LIB = util/afgets.o util/agetcwd.o util/concat.o util/enmasse.o util/eprintf.o \
|
||||
util/recurse.o
|
||||
LIB = \
|
||||
util/afgets.o \
|
||||
util/agetcwd.o \
|
||||
util/concat.o \
|
||||
util/enmasse.o \
|
||||
util/eprintf.o \
|
||||
util/recurse.o \
|
||||
|
||||
SRC = \
|
||||
basename.c \
|
||||
cat.c \
|
||||
chmod.c \
|
||||
chown.c \
|
||||
date.c \
|
||||
dirname.c \
|
||||
echo.c \
|
||||
false.c \
|
||||
grep.c \
|
||||
head.c \
|
||||
ln.c \
|
||||
ls.c \
|
||||
mkdir.c \
|
||||
mkfifo.c \
|
||||
nl.c \
|
||||
pwd.c \
|
||||
rm.c \
|
||||
sleep.c \
|
||||
sort.c \
|
||||
tail.c \
|
||||
tee.c \
|
||||
touch.c \
|
||||
true.c \
|
||||
tty.c \
|
||||
uname.c \
|
||||
wc.c
|
||||
|
||||
SRC = basename.c cat.c chmod.c chown.c date.c dirname.c echo.c false.c grep.c \
|
||||
head.c ln.c ls.c mkdir.c mkfifo.c nl.c pwd.c rm.c sleep.c sort.c tail.c \
|
||||
tee.c touch.c true.c tty.c uname.c wc.c
|
||||
OBJ = $(SRC:.c=.o) $(LIB)
|
||||
BIN = $(SRC:.c=)
|
||||
MAN = $(SRC:.c=.1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user