wmcore: use pkg-config in Makefile.
[dockapps.git] / wmdots / Makefile
blob077aba232e81a11db8a0243fd26293c5cd1b7578
1 LIBDIR = -L/usr/X11R6/lib
2 LIBS = -lXpm -lXext -lX11 -ldockapp
3 OBJS = wmdots.o
5 .c.o:
6 cc -c -g -O2 -Wall $< -o $*.o
8 wmdots: $(OBJS)
9 cc -o wmdots $^ -lXext $(LIBDIR) $(LIBS)
11 all:: wmdots
13 clean::
14 for i in $(OBJS) ; do \
15 rm -f $$i ; \
16 done
17 rm -f wmdots
19 install::
20 cp -f wmdots /usr/local/bin/
21 chmod 755 /usr/local/bin/wmdots
22 chown root:root /usr/local/bin/wmdots