1# $OpenBSD: Makefile,v 1.7 2023/10/17 09:52:10 nicm Exp $ 2 3PROG= infocmp 4SRCS= dump_entry.c infocmp.c 5CURSES= ${.CURDIR}/../../lib/libcurses 6DPADD= ${LIBCURSES} 7LDADD= -lcurses 8TIC= ${.CURDIR}/../tic 9CFLAGS+= -I${CURSES} -I${TIC} -I${.CURDIR} -I. 10.PATH: ${TIC} 11CLEANFILES+= termsort.h 12 13dump_entry.o: termsort.h 14 15termsort.h: ${TIC}/MKtermsort.sh 16 sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET} 17 18.include <bsd.prog.mk> 19