Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Thu, Jun 27, 21:35

Makefile

PGM = mapping
LOCAL = /usr
INCLUDEPY = $(LOCAL)/include/python2.6/
INCLUDENUMPY = $(LOCAL)/lib/python2.6/dist-packages/numpy/core/include/
OPTS =
CFLAGS= -I$(INCLUDEPY) -I$(INCLUDENUMPY)
$(PGM).so : $(PGM).o
gcc -fopenmp -fPIC -shared -lgsl -lgslcblas -lm $(PGM).o -o $(PGM).so $(OPTS)
$(PGM).o : $(PGM).c
gcc -fopenmp -fPIC $(CFLAGS) -c $(PGM).c
clean:
rm -f *.o *.exe *.so

Event Timeline