File: Makefile.shared-gcc

package info (click to toggle)
ray 2.3.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,008 kB
  • sloc: cpp: 49,973; sh: 339; makefile: 281; 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)