From 59e09c99639e116883cf7a5d981bd7c94e5275e4 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Fri, 3 Jun 2011 05:38:40 +0100 Subject: [PATCH] reformat makefile --- Makefile | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index b949b55..1567331 100644 --- a/Makefile +++ b/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)