wmtime: fix type of arguments to `localtime(3)`
[dockapps.git] / wmpop3lb / wmpop3 / Makefile
blobb566e714a7c905879bdbd075fb7de5fb002768fb
1 LIBDIR = -L/usr/X11R6/lib
2 LIBS = -lXpm -lXext -lX11 -ldockapp
3 FLAGS = -g2 -D_DEBUG
4 OBJS = wmpop3.o Pop3Client.o
6 .c.o:
7 cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
9 wmpop3lb: $(OBJS)
10 cc $(FLAGS) -o wmpop3lb $^ -lXext $(LIBDIR) $(LIBS)
12 all:: wmpop3lb
14 clean::
15 for i in $(OBJS) ; do \
16 rm -f $$i ; \
17 done
18 rm -f wmpop3lb
19 rm -f *~
21 install:: wmpop3lb
22 @echo "Use 'make install1' for system install."
23 @echo "Use 'make install2' for single user install."
24 @echo
26 install1:: wmpop3lb
27 cp -f wmpop3lb /usr/local/bin/
28 chmod 755 /usr/local/bin/wmpop3lb
29 chown root:root /usr/local/bin/wmpop3lb
30 @echo
31 @echo "WMPop3 Installation finished..."
33 install2:: wmpop3lb
34 mkdir $(HOME)/wmpop3lb
35 cp -f wmpop3lb $(HOME)/wmpop3lb
36 chmod 755 $(HOME)/wmpop3lb
37 @echo "WMPop3 Installation finished..."
38 @echo
39 @echo "Make sure ~/wmpop3 is in your path"
40 @echo
41 @echo "Please run wmpop3lb once and then edit ~/.wmpop3rc"