File: Makefile

package info (click to toggle)
netkit-rsh 0.17-20
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 824 kB
  • sloc: ansic: 3,825; makefile: 137; perl: 136; sh: 29
file content (16 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (4)
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 -s -o root -m$(SUIDMODE) rcp $(INSTALLROOT)$(BINDIR)
	install -m$(MANMODE) rcp.1 $(INSTALLROOT)$(MANDIR)/man1

clean:
	rm -f *.o rcp

rcp.o: ../version.h