File: Makefile

package info (click to toggle)
netkit-telnet 0.17-41.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,412 kB
  • sloc: cpp: 6,451; ansic: 4,263; sh: 110; makefile: 64
file content (21 lines) | stat: -rw-r--r-- 512 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# You can do "make SUB=blah" to make only a few, or edit here, or both
# You can also run make directly in the subdirs you want.

SUB =   telnet telnetd
# not yet: telnetlogin

%.build:
	(cd $(patsubst %.build, %, $@) && $(MAKE))

%.install:
	(cd $(patsubst %.install, %, $@) && $(MAKE) install)

%.clean:
	(cd $(patsubst %.clean, %, $@) && $(MAKE) clean)

all:     $(patsubst %, %.build, $(SUB))
install: $(patsubst %, %.install, $(SUB))
clean:   $(patsubst %, %.clean, $(SUB))

distclean: clean
	rm -f MCONFIG