1 LIBDIR
= -L
/usr
/X11R6
/lib
2 LIBS
= -lXpm
-lXext
-lX11
-ldockapp
4 OBJS
= wmpop3.o Pop3Client.o
7 cc -I
/usr
/X11R6
/share
/include $(FLAGS
) -c
-Wall
$< -o
$*.o
10 cc $(FLAGS
) -o wmpop3lb
$^
-lXext
$(LIBDIR
) $(LIBS
)
15 for i in
$(OBJS
) ; do \
22 @echo
"Use 'make install1' for system install."
23 @echo
"Use 'make install2' for single user install."
27 cp
-f wmpop3lb
/usr
/local
/bin
/
28 chmod
755 /usr
/local
/bin
/wmpop3lb
29 chown root
:root
/usr
/local
/bin
/wmpop3lb
31 @echo
"WMPop3 Installation finished..."
34 mkdir
$(HOME
)/wmpop3lb
35 cp
-f wmpop3lb
$(HOME
)/wmpop3lb
36 chmod
755 $(HOME
)/wmpop3lb
37 @echo
"WMPop3 Installation finished..."
39 @echo
"Make sure ~/wmpop3 is in your path"
41 @echo
"Please run wmpop3lb once and then edit ~/.wmpop3rc"