reformat makefile

This commit is contained in:
Connor Lane Smith 2011-06-03 05:38:40 +01:00
parent 894b42a885
commit 59e09c9963

View File

@ -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)