libdockapp: bump library version to 3.0.1.
[dockapps.git] / wmCalClock / Src / Makefile
blobd0e6b22baf4996efaa6df36241afb7ce12cb3723
1 CC = gcc
2 CFLAGS = -O2 -Wall
3 INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
4 DESTDIR= /usr/X11R6
5 LIBDIR = -L/usr/X11R6/lib
7 # for Linux
8 LIBS = -lXpm -lX11 -lXext
10 # for Solaris
11 # LIBS = -lXpm -lX11 -lXext -lsocket -lnsl
13 OBJS = wmCalClock.o \
14 xutils.o
17 .c.o:
18 $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
21 all: wmCalClock.o wmCalClock
23 wmCalClock.o: wmCalClock_master.xpm wmCalClock_mask.xbm
24 wmCalClock: $(OBJS)
25 $(CC) $(COPTS) $(SYSTEM) -o wmCalClock $^ $(INCDIR) $(LIBDIR) $(LIBS)
27 clean:
28 for i in $(OBJS) ; do \
29 rm -f $$i; \
30 done
31 rm -f wmCalClock
33 install:: wmCalClock
34 install -c -s -m 0755 wmCalClock $(DESTDIR)/bin
35 install -c -m 0644 wmCalClock.1 $(DESTDIR)/man/man1