wmSMPmon: Solaris support
[dockapps.git] / wmckgmail / wmckgmail / Makefile
blob571d7419b5d70a037d00ca407ed43ab08f16e256
1 # wmckgmail 1.1 : A dockapp to monitor the number of unread mails in a gmail inbox
2 # written by : Sylvain Tremblay <stremblay@gmail.com>
3 # release date : September 09, 2006
5 LIBDIR = -L/usr/X11R6/lib
6 LIBS = -lXpm -lXext -lX11 -lm
7 FLAGS = -O2
8 OBJS = wmckgmail.o \
9 ../wmgeneral/wmgeneral.o \
10 ../wmgeneral/misc.o \
11 ../wmgeneral/list.o
14 .c.o:
15 cc -I/usr/X11R6/share/include $(FLAGS) -D$(LANG) -c -Wall $< -o $*.o
17 wmckgmail: $(OBJS)
18 cc $(FLAGS) -D$(LANG) -o wmckgmail $^ -lXext $(LIBDIR) $(LIBS)
20 all:: wmckgmail
22 clean::
23 for i in $(OBJS) ; do \
24 rm -f $$i ; \
25 done
26 rm -f wmckgmail
27 rm -f *~
29 install:: wmckgmail
30 @echo "Installing wmckgmail binary in /usr/local/bin/wmckgmail"
31 @cp wmckgmail /usr/local/bin
33 install-man::
34 @echo "Installing wmckgmail man page in /usr/local/man/man1/wmckgmail.1";
35 @cp wmckgmail.1 /usr/local/man/man1