ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/root-tail/Makefile
Revision: 1.4
Committed: Sun Apr 11 01:02:05 2004 UTC (20 years, 11 months ago) by chris_moore
Branch: MAIN
Changes since 1.3: +4 -3 lines
Log Message:
Use code from XPenguins to find the root window under GNOME, KDE, etc.

File Contents

# User Rev Content
1 chris_moore 1.3 COPTS = -g
2 gashuffer 1.1
3 chris_moore 1.4 CFLAGS = -Wall $(COPTS) -DUSE_TOON_GET_ROOT_WINDOW
4 gashuffer 1.1
5     LDFLAGS = -L/usr/X11R6/lib -lX11
6    
7     PREFIX = /usr
8     BINDIR = $(PREFIX)/bin
9     MANDIR = $(PREFIX)/share/man/man1
10     DOCDIR = $(PREFIX)/share/doc/root-tail
11    
12 chris_moore 1.4 SOURCES = root-tail.c toon_root.c
13 gashuffer 1.1 all: root-tail man
14    
15 chris_moore 1.4 root-tail: $(SOURCES) config.h
16     $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SOURCES)
17 chris_moore 1.2
18     man: root-tail.1.gz
19    
20     root-tail.1.gz: root-tail.man
21 gashuffer 1.1 cp root-tail.man root-tail.1
22     gzip -f9 root-tail.1
23    
24     clean:
25     rm -f root-tail root-tail.1.gz
26    
27     install: all
28     install -D -o root -g root root-tail $(BINDIR)
29     install -D -m 0644 -o root -g root root-tail.1.gz $(MANDIR)
30     install -D -m 0644 -o root -g root README $(DOCDIR)
31     install -m 0644 -o root -g root Changes $(DOCDIR)
32    
33     uninstall:
34     rm -f $(BINDIR)/root-tail
35     rm -f $(MANDIR)/root-tail.1.gz
36     rm -f $(DOCDIR)/Changes
37     rm -f $(DOCDIR)/README
38     rmdir --ignore-fail-on-non-empty $(DOCDIR)
39