5 WVSTART "Static library"
8 int funca(int a) {return a+1;}
12 int funcb(int b) {return b*2;}
18 cat > 'Makefile.omk' <<EOF # OMK manual includes this file - do not modify it
20 mylib_SOURCES = funca.c funcb.c
21 include_HEADERS = mylib.h
25 cat > app/main.c <<EOF
33 cat > app/Makefile.omk <<EOF # OMK manual includes this file - do not modify it
34 bin_PROGRAMS = libtest
35 libtest_SOURCES = main.c
43 linux) WVPASS test -f _compiled/lib/libmylib.a ;;