ttry a different approach to .S files - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 910ca53df0b6b5b86645476b3e42810d061cbb7a
(DIR) parent 40ce5ba674ec42fe33420e58b811e83a3a643c1c
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 1 May 2005 22:28:11 +0000
ttry a different approach to .S files
Diffstat:
M src/libthread/mkfile | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/libthread/mkfile b/src/libthread/mkfile
t@@ -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