File: Makefile

package info (click to toggle)
netkit-tftp 0.10-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 160 kB
  • ctags: 150
  • sloc: ansic: 1,517; makefile: 92; sh: 32
file content (19 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: tftp

include ../MCONFIG
include ../MRULES

OBJS = tftp.o main.o tftpsubs.o

tftp: $(OBJS)
	$(CC) $(LDFLAGS) $^ $(LIBS) -o $@

$(OBJS): tftpsubs.h

install: tftp
	install -s -m$(BINMODE) tftp $(INSTALLROOT)$(BINDIR)
	install -m$(MANMODE) tftp.1 $(INSTALLROOT)$(MANDIR)/man1

clean:
	rm -f *.o tftp