wmifs: Fix spelling error and escape hyphen in manpage.
[dockapps.git] / wmMatrix / Makefile
blobb149d85f19fe27ee3cb866afd9fe32875b5e0a42
1 CC = gcc
2 CFLAGS = -O2 -Wall
3 INCDIR =
4 DESTDIR= /usr
5 LIBDIR =
6 LIBS = -lXpm -lX11 -lXext
8 OBJS = wmMatrix.o matrix.o xutils.o yarandom.o
10 .c.o:
11 $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
13 all: wmMatrix
15 wmMatrix.o: wmMatrix_master.xpm wmMatrix_mask.xbm
17 wmMatrix: $(OBJS)
18 $(CC) $(LDFLAGS) -o wmMatrix $^ $(LIBDIR) $(LIBS)
20 clean:
21 for i in $(OBJS) ; do \
22 rm -f $$i; \
23 done
24 rm -f wmMatrix
26 install: wmMatrix
27 install -m 0755 wmMatrix $(DESTDIR)/bin
28 install -m 0644 wmMatrix.1 $(DESTDIR)/share/man/man1