tftp-hpa-google/tftp/Makefile
hpa 06bfb2bf4f - Better parsing of the "connect" command (tftp).
- Move missing header file stuff consistently into config.h.
- Make "make -j" work correctly.
2001-11-13 19:58:32 +00:00

24 lines
411 B
Makefile

all: tftp
SRCROOT = ..
-include ../MCONFIG
include ../MRULES
OBJS = tftp.o main.o tftpsubs.o
tftp: $(OBJS)
$(CC) $(LDFLAGS) $^ $(TFTP_LIBS) -o $@
$(OBJS): tftpsubs.h
install: tftp
mkdir -p $(INSTALLROOT)$(BINDIR) $(INSTALLROOT)$(MANDIR)/man1
$(INSTALL_PROGRAM) -s tftp $(INSTALLROOT)$(BINDIR)
$(INSTALL_DATA) tftp.1 $(INSTALLROOT)$(MANDIR)/man1
clean:
rm -f *.o tftp
distclean: clean
rm -f *~