File: Makefile

package info (click to toggle)
rccp 0.9-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 252 kB
  • ctags: 44
  • sloc: ansic: 830; sh: 260; perl: 134; makefile: 30
file content (16 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PREFIX=/usr/local
MANDIR=$(PREFIX)/man/man1
BINDIR=$(PREFIX)/bin

cccp : cccp.c
	gcc -w -ggdb -o cccp cccp.c 

clean :
	rm -rf *.o cccp 

install :
	install -d $(DESTDIR)$(MANDIR)
	install -d $(DESTDIR)$(BINDIR)
	install -m 644 cccp.1 $(DESTDIR)$(MANDIR)
	install -m 755 cccp $(DESTDIR)$(BINDIR)