We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10af7d4 commit da4f760Copy full SHA for da4f760
Makefile
@@ -1,16 +1,15 @@
1
-ALLIBS := $(patsubst %_module.cc, %.so, $(wildcard *_module.cc))
+ALLIBS := $(patsubst %_module.cc,lib%.so,$(wildcard *_module.cc))
2
3
all: $(ALLIBS)
4
5
%.so: %_kernel.o %_module.o
6
- g++ -std=c++14 -shared -o $@ $^ $(TF_OPS_CFLAGS) -fPIC $(TF_OPS_LFLAGS)
7
- ln -sf compiled/$@ ../$@
+ g++ -shared -o $@ $^ $(TF_OPS_CFLAGS) -fPIC $(TF_OPS_LFLAGS)
8
9
%_module.o: %_module.cc
10
- g++ -std=c++14 -c -o $@ $< $(TF_OPS_CFLAGS) -fPIC
+ g++ -c -o $@ $< $(TF_OPS_CFLAGS) -fPIC
11
12
%_kernel.o: %_kernel.cc
13
14
15
clean:
16
rm -f $(ALLIBS)
0 commit comments