Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
riga authored Dec 9, 2022
1 parent 301697e commit 00c6cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ALLIBS := $(patsubst %_module.cc,lib%.so,$(wildcard *_module.cc))
ALLIBS := $(patsubst %_module.cc,libtf_op_%.so,$(wildcard *_module.cc))

all: $(ALLIBS)

lib%.so: %_kernel.o %_module.o
libtf_op_%.so: %_kernel.o %_module.o
g++ -shared -o $@ $^ $(TF_OPS_CFLAGS) -fPIC $(TF_OPS_LFLAGS)

%_module.o: %_module.cc
Expand Down

0 comments on commit 00c6cc9

Please sign in to comment.