summaryrefslogtreecommitdiff
path: root/usr/src/cmd/nvmeadm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/nvmeadm/Makefile')
-rw-r--r--usr/src/cmd/nvmeadm/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/cmd/nvmeadm/Makefile b/usr/src/cmd/nvmeadm/Makefile
index c919c51fce..a0cc24ead0 100644
--- a/usr/src/cmd/nvmeadm/Makefile
+++ b/usr/src/cmd/nvmeadm/Makefile
@@ -11,6 +11,7 @@
#
# Copyright 2015 Nexenta Systems, Inc.
+# Copyright (c) 2018, Joyent, Inc.
#
@@ -20,6 +21,7 @@ OBJS= nvmeadm.o nvmeadm_dev.o nvmeadm_print.o
SRCS= $(OBJS:%.o=%.c)
include ../Makefile.cmd
+include ../Makefile.ctf
.KEEP_STATE:
@@ -33,6 +35,10 @@ $(PROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
+%.o: %.c
+ $(COMPILE.c) $<
+ $(POST_PROCESS_O)
+
install: all $(ROOTUSRSBINPROG)
clean: