Skip to content

Commit

Permalink
create static and dynamic libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 14, 2019
1 parent a477939 commit 4c5bff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,12 @@ endif
lib: AR :=ar
lib: ARFLAGS :=cr
lib: AROUTPUT :=
lib: LINKOPT :=easylzma/easylzma-0.0.8/lib/libeasylzma_s.a
lib: LINKOPT :=easylzma/src/CMakeFiles/easylzma_s.dir/*.o easylzma/src/CMakeFiles/easylzma_s.dir/pavlov/*.o

dll: CPPOPT +=$(DLLFLAG)
dll: AR :=gcc
dll: ARFLAGS :=-shared -Wl,-soname,$(BINARY).1
dll: LINKOPT :=easylzma/src/CMakeFiles/easylzma.dir/*.o easylzma/src/CMakeFiles/easylzma.dir/pavlov/*.o
dll: AROUTPUT :=-o

oct mex: CPPOPT+= $(DLLFLAG)
Expand Down

0 comments on commit 4c5bff0

Please sign in to comment.