summaryrefslogtreecommitdiff
path: root/regress/sys/arch/sparc64/emul-popc/simm/Makefile
blob: 31919d51869435276fa56386c6713e6971bc7800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.4 2003/07/12 04:22:02 jason Exp $

# -O2 breaks this
CFLAGS=-O0
PROG=	simm13
SRCS=simm13.c simm13_asm.S
REGRESS_TARGETS=simm13_check
CLEANFILES+=simm13.c simm13_asm.S

simm13.c: genc.pl
	perl ${.CURDIR}/genc.pl > $@

simm13_asm.S: genasm.pl
	perl ${.CURDIR}/genasm.pl > $@

simm13_check: simm13
	${.OBJDIR}/simm13 | diff -u - ${.CURDIR}/simm.out

.include <bsd.regress.mk>