24 lines
375 B
Makefile
Executable file
24 lines
375 B
Makefile
Executable file
LIBDIR = -L/usr/X11R6/lib
|
|
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::
|
|
cp -f wmdots /usr/local/bin/
|
|
chmod 755 /usr/local/bin/wmdots
|
|
chown root:root /usr/local/bin/wmdots
|
|
|