Icon creation in only one function
[wmaker-crm.git] / WINGs / get-wutil-flags.in
blob026cf597eab53cd79033abf4168e7b932754a5a6
1 #!/bin/sh
3 WCFLAGS="-I${includedir}"
4 WLFLAGS="-L${libdir}"
5 WLIBS="-lWUtil ${INTLIBS}"
7 usage="Usage: get-wutil-flags [--cflags] [--ldflags] [--libs]"
9 if test $# -eq 0; then
10 echo "${usage}" 1>&2
11 exit 1
14 while test $# -gt 0; do
15 case $1 in
16 --cflags)
17 echo $WCFLAGS
19 --ldflags|--lflags)
20 echo $WLFLAGS
22 --libs)
23 echo $WLIBS
26 echo "${usage}" 1>&2
27 exit 1
29 esac
30 shift
31 done