projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18eccde
)
freeze: Makefile: only clean specific C files
author
Mark Lodato
<lodatom@gmail.com>
Sun, 4 Oct 2009 23:31:26 +0000
(19:31 -0400)
committer
Mark Lodato
<lodatom@gmail.com>
Sun, 4 Oct 2009 23:31:26 +0000
(19:31 -0400)
Demos/freeze/Makefile
patch
|
blob
|
history
diff --git
a/Demos/freeze/Makefile
b/Demos/freeze/Makefile
index be24116e4b00391836efc88eb5a60d300b7f334c..9f484e459122f592e26be87ee771de189f8d154d 100644
(file)
--- a/
Demos/freeze/Makefile
+++ b/
Demos/freeze/Makefile
@@
-14,6
+14,7
@@
TARGET = nCr
# List of Cython source files, with main module first.
CYTHON_SOURCE = combinatorics.pyx cmath.pyx
+CYTHON_SECONDARY = $(CYTHON_SOURCE:.pyx=.c) $(TARGETS:=.c)
all : $(TARGET)
@@
-27,7
+28,7
@@
$(TARGET).c :
$(CYTHON) $(CYTHONFLAGS) $^
clean:
- $(RM) *.o
*.c
$(TARGET)
+ $(RM) *.o
$(CYTHON_SECONDARY)
$(TARGET)
.PHONY: clean
-.SECONDARY: $(CYTHON_S
OURCE:.pyx=.c
)
+.SECONDARY: $(CYTHON_S
ECONDARY
)