Add missing libraries to examples' Makefiles
[dockapps.git] / wmsm.app / wmsm / Makefile
blobd40f8926e4ecf59de0891054f438d52f01742262
1 CC = gcc
2 CFLAGS = -Wall -O3
3 LIBDIR = -L/usr/X11R6/lib
4 LIBS = -lXpm -lXext -lX11 -ldockapp
5 OBJS = wmsm.o
6 PREFIX = /usr/X11R6/bin
7 INSTALL = /usr/bin/install
9 wmsm: $(OBJS)
10 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBDIR) $(LIBS)
12 install: wmsm
13 $(INSTALL) -m 755 $< $(PREFIX)
15 clean:
16 rm -f $(OBJS)
17 rm -f wmsm