dockapps/wmdots/Makefile

24 lines
375 B
Makefile
Raw Normal View History

LIBDIR = -L/usr/X11R6/lib
2017-02-25 03:42:28 +00:00
LIBS = -lXpm -lXext -lX11 -ldockapp
OBJS = wmdots.o
.c.o:
cc -c -g -O2 -Wall $< -o $*.o
wmdots: $(OBJS)
cc -o wmdots $^ -lXext $(LIBDIR) $(LIBS)
all:: wmdots
clean::
for i in $(OBJS) ; do \
rm -f $$i ; \
done
rm -f wmdots
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