84a7c3f464
Change-Id: I63adf8460e7fdbe3d9d5ad6c828ae5758cb1643c
13 lines
346 B
Makefile
13 lines
346 B
Makefile
FILESDIR= /usr/lib/keymaps
|
|
|
|
.SUFFIXES: .src .map
|
|
|
|
.src.map:
|
|
${_MKTARGET_CREATE}
|
|
${HOST_CC} ${HOST_CFLAGS} ${HOST_CPPFLAGS} ${HOST_LDFLAGS} -DKEYSRC=\"$<\" -o ${.OBJDIR}/${.TARGET}_genmap ${.CURDIR}/genmap.c
|
|
${.OBJDIR}/${.TARGET}_genmap > ${.OBJDIR}/${.TARGET}
|
|
rm -f ${.OBJDIR}/${.TARGET}_genmap
|
|
|
|
realall: ${FILES}
|
|
|
|
CLEANFILES+= ${FILES}
|