try a different approach to .S files

This commit is contained in:
rsc 2005-05-01 22:28:11 +00:00
parent 40ce5ba674
commit 910ca53df0

View file

@ -28,6 +28,13 @@ tspawnloop: tspawnloop.$O
%.$O: %.c
$CC $CFLAGS -I. $stem.c
# cannot use generic .S rule because it conflicts
# with generic .s rule in mkcommon on case-insensitive
# systems like Mac OS X.
OpenBSD-power-asm.$O: OpenBSD-power-asm.S
$CC $CFLAGS $stem.S
test:V: tprimes tspawn
primes 1 10007 >p1.txt