File: Makefile.shared-gcc

package info (click to toggle)
ray 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,128 kB
  • ctags: 6,125
  • sloc: cpp: 49,973; sh: 325; makefile: 278; python: 168
file content (16 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# author: Sébastien Boisvert

include common.mk

all: libRayPlatform.so

libRayPlatform.so: $(obj-y)
	$(MPICXX) -shared -Wl,-soname,libRayPlatform.so -o libRayPlatform.so $(obj-y) -lc

# inference rule
%.o: %.cpp
	$(MPICXX) -fPIC $(CXXFLAGS) -I. -c -o $@ $< 

clean:
	$(RM) -f libRayPlatform.so $(obj-y)