2016-12-27 16:09:30 +00:00
|
|
|
LIBDIR = -L/usr/X11R6/lib
|
2017-02-25 03:42:28 +00:00
|
|
|
LIBS = -lXpm -lXext -lX11 -ldockapp
|
|
|
|
OBJS = wmdots.o
|
2016-12-27 16:09:30 +00:00
|
|
|
|
|
|
|
.c.o:
|
|
|
|
cc -c -g -O2 -Wall $< -o $*.o
|
|
|
|
|
|
|
|
wmifs: $(OBJS)
|
|
|
|
cc -o wmdots $^ -lXext $(LIBDIR) $(LIBS)
|
|
|
|
|
|
|
|
all:: wmdots
|
|
|
|
|
|
|
|
clean::
|
|
|
|
for i in $(OBJS) ; do \
|
2017-02-25 03:42:30 +00:00
|
|
|
rm -f $$i ; \
|
2016-12-27 16:09:30 +00:00
|
|
|
done
|
2017-02-25 03:42:30 +00:00
|
|
|
rm -f wmdots
|
2016-12-27 16:09:30 +00:00
|
|
|
|
|
|
|
install::
|
2017-02-21 00:16:01 +00:00
|
|
|
cp -f wmdots /usr/local/bin/
|
|
|
|
chmod 755 /usr/local/bin/wmdots
|
|
|
|
chown root:root /usr/local/bin/wmdots
|
2016-12-27 16:09:30 +00:00
|
|
|
|