Skip to content

Commit

Permalink
For #669. Adding install target to gpu Makefile (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet authored and beauby committed Jan 11, 2019
1 parent eb6c4cc commit f5feac1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gpu/Makefile
Expand Up @@ -89,4 +89,12 @@ depend:
$(CXXCPP) $(CPPFLAGS) -x c++ -MM $$i; \
done > depend

install: libgpufaiss.a libgpufaiss.$(SHAREDEXT) installdirs
cp libgpufaiss.a libgpufaiss.$(SHAREDEXT) $(DESTDIR)$(libdir)
cp *.h $(DESTDIR)$(includedir)/faiss/gpu
cp --parents **/**.h $(DESTDIR)$(includedir)/faiss/gpu

installdirs:
$(MKDIR_P) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)/faiss/gpu

.PHONY: all clean

0 comments on commit f5feac1

Please sign in to comment.