3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-27 07:32:19 +02:00
dft_tools/python/converters/vasp/c/plocar_io/makefile.linux
Oleg E. Peil 19a30034f5 * Replaced direct compilation in Makefile by 'setup.py' from 'distutils'
* NO_DEPRECATED_API flag was added and now 'c_plocar_io.c' does not compile
2015-10-11 13:55:04 +02:00

10 lines
272 B
Plaintext

CC=gcc
INC_FLAGS=-I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include/numpy
LIB_FLAGS=-L/usr/lib/python2.7
c_plocar_io.so: c_plocar_io.c
# $(CC) $< -fPIC -shared -o $@ $(INC_FLAGS) $(LIB_FLAGS) -lpython2.7
python setup.py build_ext --inplace