wmacpi: Bump to version 2.1.
[dockapps.git] / wmtv / Makefile
blob0e8407bc8d6e33f209f3eb4b4b8c8f831330b2f2
2 # Makefile for wmtv
4 INCDIR = -I/usr/X11R6/include
5 LIBDIR = -L/usr/X11R6/lib
6 LIBS = -lXpm -lXext -lX11 -lXxf86dga -lXxf86vm
7 OBJS = src/wmtv.o \
8 src/wmgeneral/wmgeneral.o \
10 .c.o:
11 cc -c -O2 -Wall -D$(shell echo `uname -s`) $< -o $*.o $(INCDIR)
13 all: wmtv
15 wmtv: $(OBJS)
16 cc -o wmtv $^ $(LIBDIR) $(LIBS)
18 install:: all
19 install -s -m 4755 -o root wmtv /usr/X11R6/bin
20 install -m 0644 -o root -g root wmtvrc.sample /etc/wmtvrc
22 clean:
23 for i in $(OBJS) ; do \
24 rm -f $$i; \
25 done
26 rm -f wmtv