1 # hostprog helpers for screen maps generation
2 .PATH: ${.CURDIR}/../scrnmaps
5 .include "./Makefile.scrnmaps"
7 SCRMAPS_MK= ${SCRMAPS:R:S/$/.nx/g}
9 ${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c
10 ${NXCC} ${NXCFLAGS} -I${.CURDIR}/../scrnmaps -DFIL=\"${.TARGET:R}\" ${NXLDFLAGS} \
11 -o ${.TARGET} ${.CURDIR}/../scrnmaps/mkscrfil.c
13 CLEANFILES+= ${SCRMAPS_MK}
15 genfiles: ${SCRMAPS_MK}
18 build-tools: ${SCRMAPS_MK}
20 # this tools are used in place, they are not installed anywhere
23 # Hint HOST_CCVER handling.