File tree Expand file tree Collapse file tree 10 files changed +16
-16
lines changed Expand file tree Collapse file tree 10 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
- VERSION = cpython-311-x86_64-linux-gnu
2
- POINTS_LIB = points. $(VERSION ) .so
3
- POINTS_PURE_LIB = points_pure. $(VERSION ) .so
1
+ VERSION = $( shell python3-config --extension-suffix)
2
+ POINTS_LIB = points$(VERSION )
3
+ POINTS_PURE_LIB = points_pure$(VERSION )
4
4
5
5
all : $(POINTS_LIB )
6
6
Original file line number Diff line number Diff line change 1
- VERSION = cpython-311-x86_64-linux-gnu
2
- AVERAGE_LIB = average. $(VERSION ) .so
3
- AVERAGE_PURE_LIB = average_pure. $(VERSION ) .so
1
+ VERSION = $( shell python3-config --extension-suffix)
2
+ AVERAGE_LIB = average$(VERSION )
3
+ AVERAGE_PURE_LIB = average_pure$(VERSION )
4
4
5
5
all : $(AVERAGE_LIB ) $(AVERAGE_PURE_LIB )
6
6
Original file line number Diff line number Diff line change 1
- VERSION = cpython-311-x86_64-linux-gnu
1
+ VERSION = $( sheel python3-config --extension-suffix )
2
2
HELLO_WORLD_LIB = hello_world.$(VERSION ) .so
3
3
4
4
all : $(HELLO_WORLD_LIB )
Original file line number Diff line number Diff line change 1
- VERSION = cpython-311-x86_64-linux-gnu
1
+ VERSION = $( shell python3-config --extension-suffix)
2
2
ARRAY_SUM_LIB = array_sum.$(VERSION ) .so
3
3
ARRAY_INIT_LIB = array_init.$(VERSION ) .so
4
4
ARRAY_SUM_PURE_LIB = array_sum_pure.$(VERSION ) .so
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ $(LIB_FILES): $(PYX_FILES)
9
9
10
10
clean :
11
11
python setup.py clean
12
- rm -f $(C_FILES ) $(LIB_FILES )
12
+ $( RM ) $(C_FILES ) $(LIB_FILES )
Original file line number Diff line number Diff line change 1
- VERSION = cpython-311-x86_64-linux-gnu
1
+ VERSION = $( shell python3-config --extension-suffix)
2
2
CYTHON_LIB = pointers_cython.$(VERSION ) .so
3
3
PURE_LIB = pointers_pure.$(VERSION ) .so
4
4
Original file line number Diff line number Diff line change 1
- VERSION = cpython-311-x86_64-linux-gnu
1
+ VERSION = $( shell python3-config --extension-suffix)
2
2
PRIMES_LIBS = primes_cython.$(VERSION ) .so primes_cython3.$(VERSION ) .so \
3
3
primes_pure_python.$(VERSION ) .so primes_pure_malloc.$(VERSION ) .so \
4
4
primes_malloc.$(VERSION ) .so
Original file line number Diff line number Diff line change 1
- VERSION = cpython-35m-x86_64-linux-gnu
1
+ VERSION = $( shell python3-config --extension-suffix)
2
2
3
3
QUAD_LIBS = quad.$(VERSION ) .so quad_prof.$(VERSION ) .so \
4
4
quad_prof_indiv.$(VERSION ) .so
@@ -10,4 +10,4 @@ all: $(QUAD_LIBS)
10
10
11
11
clean :
12
12
python setup.py clean
13
- rm -f * .c $(QUAD_LIBS )
13
+ $( RM ) * .c $(QUAD_LIBS )
Original file line number Diff line number Diff line change 1
- VERSION = cpython-34m
1
+ VERSION = $( shell python3-config --extension-suffix)
2
2
COMPOUNDS_LIB = compounds.$(VERSION ) .so
3
3
4
4
all : $(COMPOUNDS_LIB )
@@ -8,4 +8,4 @@ $(COMPOUNDS_LIB): compounds.pyx
8
8
9
9
clean :
10
10
python setup.py clean
11
- rm -f compounds.c $(COMPOUNDS_LIB )
11
+ $( RM ) compounds.c $(COMPOUNDS_LIB )
Original file line number Diff line number Diff line change 1
- VERSION = cpython-311-x86_64-linux-gnu
1
+ VERSION = $( shell python3-config --extension-suffix)
2
2
CYTHON_LIB = point_cython.$(VERSION ) .so
3
3
PURE_LIB = point_pure.$(VERSION ) .so
4
4
You can’t perform that action at this time.
0 commit comments