Skip to content

Commit

Permalink
* Makefile: Add rule for standalone library.
Browse files Browse the repository at this point in the history
  • Loading branch information
casouri committed Mar 24, 2022
1 parent d441255 commit 2456f1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ LDLIBS = -lxapian
xapian-lite.so: xapian-lite.cc
$(CXX) $< -o $@ -shared $(CXXFLAGS) $(LDFLAGS) $(LDLIBS)

xapian-lite.so.stdaln: xapian-lite.cc
$(CXX) -o xapian-lite.so -shared $(CXXFLAGS) $< libxapian.a -lz

clean:
rm -f *.so *.o

0 comments on commit 2456f1e

Please sign in to comment.