ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/root-tail/Makefile
(Generate patch)

Comparing root-tail/Makefile (file contents):
Revision 1.5 by pcg, Sun Apr 11 22:08:16 2004 UTC vs.
Revision 1.6 by root, Sun Jun 16 01:24:29 2019 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines