Skip to content

Commit 962c4bf

Browse files
committed
Add C artifact to gitignore and make file
1 parent 81e6016 commit 962c4bf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

source-code/cython/Primes/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
primes_cython.c
2+
primes_cython3.c
3+
primes_pure_python.c

source-code/cython/Primes/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
VERSION = cpython-311-x86_64-linux-gnu
2-
PRIMES_LIBS = primes_cython.$(VERSION).so primes_pure_python.$(VERSION).so
2+
PRIMES_LIBS = primes_cython.$(VERSION).so primes_cython3.$(VERSION).so \
3+
primes_pure_python.$(VERSION).so
34

45
all: $(PRIMES_LIBS)
56

@@ -8,5 +9,5 @@ $(PRIMES_LIBS): primes_cython.pyx primes_pure_python.py
89

910
clean:
1011
python setup.py clean
11-
$(RM) primes_cython.c primes_pure_python.c $(PRIMES_LIBS)
12+
$(RM) primes_cython.c primes_cython3.c primes_pure_python.c $(PRIMES_LIBS)
1213
$(RM) -r build/

0 commit comments

Comments
 (0)