wmclockmon: update debug flags to reflect what I've been using
[dockapps.git] / wmdots / Makefile
blob32560c76d3d39d9dbfdbeacc471f7db49a64ac55
1 LIBDIR = -L/usr/X11R6/lib
2 LIBS = -lXpm -lXext -lX11 -ldockapp
3 OBJS = wmdots.o
4 prefix = /usr/local
5 exec_prefix = $(prefix)
6 bindir = $(exec_prefix)/bin
7 MKDIR_P = mkdir -p
8 INSTALL = install
9 INSTALL_PROGRAM = $(INSTALL)
11 .c.o:
12 cc -c -g -O2 -Wall $< -o $*.o
14 wmdots: $(OBJS)
15 cc -o wmdots $^ -lXext $(LIBDIR) $(LIBS)
17 all:: wmdots
19 clean::
20 for i in $(OBJS) ; do \
21 rm -f $$i ; \
22 done
23 rm -f wmdots
25 install::
26 $(MKDIR_P) $(DESTDIR)$(bindir)
27 $(INSTALL_PROGRAM) wmdots $(DESTDIR)$(bindir)/wmdots