wmusic: use appropriate variable names for track positions
[dockapps.git] / wmapm / wmapm / Makefile
blob43c317e75179d15aaa132173dfe41e6e6b9012d5
1 CC = gcc
2 CFLAGS = -O2 -Wall
3 INCDIR = -I/usr/X11R6/include
4 DESTDIR= /usr/X11R6
5 LIBDIR = -L/usr/X11R6/lib
6 LIBS = -lXpm -lX11 -lXext -ldockapp
7 OBJS = wmapm.o
9 .c.o:
10 $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
12 all: wmapm.o wmapm
14 wmapm.o: wmapm_master.xpm wmapm_mask.xbm wmapm.h
15 wmapm: $(OBJS)
16 $(CC) $(COPTS) $(SYSTEM) -o wmapm $^ $(INCDIR) $(LIBDIR) $(LIBS)
18 clean:
19 for i in $(OBJS) ; do \
20 rm -f $$i; \
21 done
22 rm -f wmapm
24 install:: wmapm
25 install -s -m 0755 wmapm $(DESTDIR)/bin
26 install -m 0644 wmapm.1 $(DESTDIR)/man/man1
27 chmod +s $(DESTDIR)/bin/wmapm