Return to Makefile CVS log | Up to [local] / src / usr.bin / tic |
File: [local] / src / usr.bin / tic / Makefile (download)
Revision 1.9, Fri Jun 16 10:25:54 2017 UTC (6 years, 11 months ago) by espie
mark files as BUILDFIRST, or write explicit dependencies, so that most programs will build even without a make depend first. okay tb@ millert@ |
# $OpenBSD: Makefile,v 1.9 2017/06/16 10:25:54 espie Exp $ PROG= tic SRCS= dump_entry.c tic.c MAN= tic.1 captoinfo.1 infotocap.1 LINKS= ${BINDIR}/tic ${BINDIR}/infotocap ${BINDIR}/tic ${BINDIR}/captoinfo DPADD= ${LIBCURSES} LDADD= -lcurses CURSES= ${.CURDIR}/../../lib/libcurses CFLAGS+= -I${CURSES} -I${.CURDIR} -I. CLEANFILES+= termsort.c captoinfo.1 # Work around gcc optimization bug on sh .if (${MACHINE_ARCH} == sh) COPTS+= -O0 .endif beforedepend: termsort.c dump_entry.o: termsort.c termsort.c: MKtermsort.sh sh ${.CURDIR}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET} captoinfo.1: captoinfo.1tbl cp ${.ALLSRC} ${.TARGET} .include <bsd.prog.mk>