From: hadaq Date: Sun, 13 Sep 2009 23:12:41 +0000 (+0000) Subject: added trbdhcp X-Git-Tag: v6.0~339 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=b29357912b4979df658b9d5350e28e616437e83f;p=trbnettools.git added trbdhcp --- diff --git a/libtrbnet/Makefile b/libtrbnet/Makefile index bc7a218..973a719 100644 --- a/libtrbnet/Makefile +++ b/libtrbnet/Makefile @@ -28,10 +28,12 @@ INC_DIR = # ------------ Objects ------------------------------------------------- -TARGETS = trbcmd +TARGETS = trbcmd trbdhcp trbcmd.OBJS = trbcmd.o +trbdhcp.OBJS = trbdhcp.o + # ------------ Library-Objects ---------------------------------------- LIB_TARGETS = libtrbnet.a @@ -57,6 +59,11 @@ trbcmd: $(trbcmd.OBJS) libtrbnet.a $(CC) $(trbcmd.OBJS) $(LDFLAGS) $(LIBDIR) $(LOADLIBES) -o $@ @echo DONE! +trbdhcp: $(trbdhcp.OBJS) libtrbnet.a + @echo LINKING $@ + $(CC) $(trbdhcp.OBJS) $(LDFLAGS) $(LIBDIR) $(LOADLIBES) -o $@ + @echo DONE! + libtrbnet.a: $(libtrbnet.OBJS) @echo CREATING library $@ $(AR) $(ARFLAGS) $@ $^ @@ -72,6 +79,9 @@ clean: rm -f *.o core core.* rcsclean +depend: + $(CC) -MM $(CFLAGS) $(CPPFLAGS) *.c + # ------------ Dependencies -------------------------------------------- port.o: port.h port.c @@ -82,3 +92,5 @@ trbnet.o: trbnet.h trbnet.c trberror.h port.h trbcmd.o: trbcmd.c trbnet.h trberror.h +trbdhcp.o: trbdhcp.c trbnet.h trberror.h +