Split out architecture-dependent definitions into api.h and arch.h.
[urcu.git] / Makefile
index 2a044676efe94bb7f76a920da25b86302eb498dd..70709acad6eb8575c650dc6da9878dd5e1e306dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,14 @@ SRC_DEP=`echo $^ | sed 's/[^ ]*.h//g'`
 all: test_urcu test_urcu_timing test_rwlock_timing test_urcu_yield urcu-asm.S \
        urcu-asm.o urcutorture urcutorture-yield
 
+pthreads-x86: clean
+       cp api_x86.h api.h
+       cp arch_x86.h arch.h
+
+pthreads-ppc: clean
+       cp api_ppc.h api.h
+       cp arch_ppc.h arch.h
+
 test_urcu: urcu.o test_urcu.c urcu.h
        $(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
 
This page took 0.022617 seconds and 4 git commands to generate.