File: Makefile

package info (click to toggle)
netkit-tftp 0.17-12
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 192 kB
  • ctags: 175
  • sloc: ansic: 1,617; makefile: 97; sh: 32
file content (20 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all: tftp

include ../MCONFIG
include ../MRULES

OBJS = tftp.o main.o tftpsubs.o

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

$(OBJS): tftpsubs.h
tftp.o: ../version.h

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

clean:
	rm -f *.o tftp