Debian Codegraph @

Makefile

raw ◀ ▶
2 Debian patches touch this file
•1 PREFIX=$(DESTDIR)/usr
2
3 all: eancheck
4
5 eancheck: eancheck.o
•6 $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS)
7
8 eancheck.o: eancheck.cpp
•9 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -Wno-deprecated -c -o $@ $< $(LDFLAGS)
10
11 eancheck.1.gz:
12 gzip -c -9 eancheck.1 > eancheck.1.gz
13
14 install: eancheck eancheck.1.gz
15 install -c -D -o root -g root -m 755 eancheck $(PREFIX)/bin/eancheck
16 install -c -D -o root -g root -m 644 eancheck.h $(PREFIX)/include/eancheck.h
17 install -c -D -o root -g root -m 644 README $(PREFIX)/share/doc/eancheck/README
18 install -c -D -o root -g root -m 644 eancheck.1.gz $(PREFIX)/share/man/man1/eancheck.1.gz
19
20 uninstall:
21 rm $(PREFIX)/bin/eancheck
22 rm $(PREFIX)/include/eancheck.h
23 rm -rf $(PREFIX)/share/doc/eancheck
24 rm $(PREFIX)/share/man/man1/eancheck.1.gz
25
26 clean:
27 -rm eancheck
28 -rm eancheck.o
29 -rm eancheck.1.gz