Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F68543019
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jun 27, 21:35
Size
440 B
Mime Type
text/x-makefile
Expires
Sat, Jun 29, 21:35 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18598869
Attached To
rPNBODY pNbody
Makefile
View Options
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
Log In to Comment