xref: /openbsd/sys/dev/microcode/tht/Makefile (revision 43a70795)
1# $OpenBSD: Makefile,v 1.5 2021/10/03 00:48:45 deraadt Exp $
2
3NOPROG=
4NOMAN=
5CC=${HOSTCC}
6
7FIRM=	tht
8
9PROG=	build
10
11CLEANFILES+= ${FIRM} ${PROG}
12
13all: ${FIRM}
14
15${FIRM}: build
16	${.OBJDIR}/build
17
18realinstall:
19
20afterinstall:
21	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
22	    ${FIRM} ${DESTDIR}/etc/firmware
23	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
24	    ${.CURDIR}/tht-license ${DESTDIR}/etc/firmware
25
26.include <bsd.prog.mk>
27