You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
422 B
Makefile
16 lines
422 B
Makefile
# The *.cpp files are included in the distribution; this is only needed when
|
|
# working on the pyx files.
|
|
#
|
|
# Please check in modified *.cpp files with distribution to not require cython
|
|
# to be installed on the users' machine.
|
|
# for python3: make PYTHON=$(which python3) CYTHON=$(which cython3)
|
|
CYTHON ?= cython
|
|
|
|
all : core.cpp graphics.cpp
|
|
|
|
%.cpp : %.pyx
|
|
$(CYTHON) --cplus -o $@ $^
|
|
|
|
clean:
|
|
rm -rf core.cpp graphics.cpp
|