summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/fstat/Makefile')
-rw-r--r--usr.bin/fstat/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/fstat/Makefile b/usr.bin/fstat/Makefile
index bcf4df8..45d0e45 100644
--- a/usr.bin/fstat/Makefile
+++ b/usr.bin/fstat/Makefile
@@ -18,7 +18,9 @@ CFLAGS+=-D_KVM_VNODE
CFLAGS+= -DZFS
OBJS+= zfs/zfs.o
SUBDIR= zfs
-zfs/zfs.o: zfs
+${PROG}: zfs
+zfs/zfs.o:
+ @cd ${.CURDIR}/zfs && ${MAKE} zfs.o
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud