File: Makefile

package info (click to toggle)
netkit-rsh 0.17-14
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 444 kB
  • ctags: 253
  • sloc: ansic: 3,797; makefile: 190; perl: 136; sh: 29
file content (16 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: rcp

include ../MCONFIG
include ../MRULES

rcp: rcp.o
	$(CC) $(LDFLAGS) $^ $(LIBS) -o $@

install: rcp
	install -o root -m$(SUIDMODE) rcp $(INSTALLROOT)$(BINDIR)
	install -m$(MANMODE) rcp.1 $(INSTALLROOT)$(MANDIR)/man1

clean:
	rm -f *.o rcp

rcp.o: ../version.h