diff --git a/usr.bin/objformat/Makefile b/usr.bin/objformat/Makefile index e25e3f5520f..0b2b0cc173c 100644 --- a/usr.bin/objformat/Makefile +++ b/usr.bin/objformat/Makefile @@ -4,6 +4,9 @@ PROG= objformat NOMAN= not yet CFLAGS+= -DMAIN -DROOTDIR=\"${DESTDIR}/usr/libexec/\" +objformat: + @echo Compiles on install. + beforeinstall: $(CC) -DMAIN -DROOTDIR=\"${DESTDIR}/usr/libexec/\" \ ${.CURDIR}/objformat.c -o ${.OBJDIR}/objformat