summaryrefslogtreecommitdiff
path: root/usr/src/cmd/tail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/tail/Makefile')
-rw-r--r--usr/src/cmd/tail/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/cmd/tail/Makefile b/usr/src/cmd/tail/Makefile
index 49b4a042b5..c93a9d32b9 100644
--- a/usr/src/cmd/tail/Makefile
+++ b/usr/src/cmd/tail/Makefile
@@ -22,6 +22,7 @@ OBJS= forward.o misc.o read.o reverse.o tail.o
SRCS= $(OBJS:%.o=%.c)
include ../Makefile.cmd
+include ../Makefile.ctf
CLOBBERFILES= $(PROG)
CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
@@ -44,6 +45,10 @@ $(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
+%.o: %.c
+ $(COMPILE.c) $<
+ $(POST_PROCESS_O)
+
install: all .WAIT $(ROOTPROG) $(ROOTXPG4PROG)
$(ROOTXPG4PROG):