Skip to content

Commit

Permalink
Merge pull request #165 from yinqiwen/main
Browse files Browse the repository at this point in the history
Add a make target 'staticlib' to create static lib
  • Loading branch information
r-devulap authored Sep 6, 2024
2 parents 169dc6e + f9afa18 commit c61ce8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ sharedlib:
meson setup --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja

staticlib:
meson setup -Dlib_type=static --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja

install:
meson setup --warnlevel 2 --werror --buildtype release builddir
cd builddir && meson install
Expand Down

0 comments on commit c61ce8f

Please sign in to comment.