From e793c690a04dc6063df234016fba32ef08cd9b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Mon, 25 May 1998 15:00:49 +0000 Subject: [PATCH] Only compile on install. --- usr.bin/objformat/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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