From af348f694b42919dac4a371d6090569cdc4d8bc4 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 7 Jul 1998 02:30:45 +0000 Subject: Added a `build-tools' target for internal tools. Honor LDFLAGS for building internal tools. --- share/syscons/scrnmaps/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'share/syscons') diff --git a/share/syscons/scrnmaps/Makefile b/share/syscons/scrnmaps/Makefile index 61e1b57..44142f2 100644 --- a/share/syscons/scrnmaps/Makefile +++ b/share/syscons/scrnmaps/Makefile @@ -1,4 +1,4 @@ -# $Id$ +# $Id: Makefile,v 1.10 1998/01/03 14:09:21 wosch Exp $ SCRMAPS = koi8-r2cp866.scm iso-8859-1_to_cp437.scm @@ -10,6 +10,8 @@ NOMAN = noman all: ${SCRMAPS} +build-tools: ${SCRMAPS_MK} + install: ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \ ${SCRMAPS} ${DESTDIR}${SCRDIR} @@ -20,7 +22,7 @@ ${SCRMAPS}: ${.TARGET:R}.mk rm -f ${.TARGET:R}.tmp ${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c - ${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" \ - -o ${.TARGET} ${.CURDIR}/mkscrfil.c + ${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \ + -o ${.TARGET} ${.CURDIR}/mkscrfil.c .include -- cgit v1.1