libdockapp: bump library version to 3.0.1.
[dockapps.git] / wmload / Makefile
blob80498e39b9d826f0df2ffa47b08bbf2d4566d79b
1 OBJS = wmload.o
2 LIBS = -lX11 -lXpm -lXext -lm
3 PREFIX = /usr/local
4 BINDIR = $(PREFIX)/bin
5 MANDIR = $(PREFIX)/share/man/man1
6 INSTALL = install
8 %.o: %.c
9 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
11 wmload: $(OBJS)
12 $(CC) $(LDFLAGS) -o wmload $(OBJS) $(LIBS)
14 clean:
15 rm -f $(OBJS) wmload
17 install: wmload
18 $(INSTALL) -d $(DESTDIR)$(BINDIR)
19 $(INSTALL) wmload $(DESTDIR)$(BINDIR)
20 $(INSTALL) -d $(DESTDIR)$(MANDIR)
21 $(INSTALL) -m 644 wmload.1 $(DESTDIR)$(MANDIR)