aboutsummaryrefslogblamecommitdiffstats
path: root/config.mk
blob: dd8023eb3580b39ce815e9325679ca9349fc1dda (plain) (tree)
1
2
3
4
5
6
7
8
9

             
                                                                          

                                                                       

                                                

                                                                    



                              

          

                  
PREFIX = /usr

PYTHON_MAJOR = $$(python --version 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1)
PYTHON_MINOR = $$(python$(PYTHON_MAJOR) --version 2>&1 | cut -d . -f 2)

PYTHON_VERSION = $(PYTHON_MAJOR).$(PYTHON_MINOR)
PYTHON_VER     = $(PYTHON_MAJOR)$(PYTHON_MINOR)
PYTHON_DIR     = $(PREFIX)/lib/python$(PYTHON_VERSION)/site-packages
PYTHON_CACHE   = $(PYTHON_DIR)/__pycache__

CC     = c99
CYTHON = cython$(PYTHON_MAJOR)
PYTHON = python$(PYTHON_MAJOR)

CPPFLAGS =
CFLAGS   =
LDFLAGS  = -lgamma