mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
9 lines
234 B
Plaintext
9 lines
234 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
|
|
|