wmmoonclock: add autogen.
[dockapps.git] / wmisdn / Makefile
blob89985cf65d9d954de7561a563140b209cc55445d
1 LIBDIR = -L/usr/X11R6/lib
2 LIBS = -lXpm -lXext -lX11
3 OBJS = wmisdn.o regions.o
4 HS = optics/optics.h
5 VER = 1.81
6 DIR = wmisdn-$(VER)
8 .cc.o:
9 g++ -c -Wall -DVER=$(VER) $< -o $*.o
11 wmisdn: $(OBJS)
12 g++ -o wmisdn $^ $(LIBDIR) $(LIBS)
14 install:: wmisdn
15 install -d /usr/local/sbin/
16 install -s -o root -g root -m 0700 wmisdn /usr/local/sbin/wmisdn
17 install -d /usr/local/doc/wmisdn/
18 install -m 0644 CHANGES COPYING README /usr/local/doc/wmisdn/
20 clean::
21 for i in $(OBJS); do rm -f $$i; done
22 rm -f wmisdn
23 rm -f *~
25 dist::
26 cd ../ ; tar --exclude=$(DIR)/stuff --exclude=$(DIR)/dist -c $(DIR)/ | gzip -c > $(DIR)/dist/wmisdn-$(VER).tgz
28 build::
29 make clean
30 make