From: hadaq Date: Mon, 23 May 2011 01:00:15 +0000 (+0000) Subject: update X-Git-Tag: v6.0~147 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=4f24d8d8273b4bd027dab9c3a78b9c06861dc079;p=trbnettools.git update --- diff --git a/trbnetd/Makefile b/trbnetd/Makefile index 1cb437d..c14af7e 100644 --- a/trbnetd/Makefile +++ b/trbnetd/Makefile @@ -19,14 +19,14 @@ LD = $(CC) #LD = $(CXX) LDFLAGS = -LIBDIR = -L. -LOADLIBES = +LIBDIR = -L../libtrbnet +LOADLIBES = -ltrbnet # ------------ TARGETS ------------------------------------------------- TARGETS = trbcmd trbrichcmd trbflash trb_i2c trbdhcp pulser -LIB_TARGETS = libtrbnet.a +LIB_TARGETS = # ------------ Libaries ------------------------------------------------ @@ -73,7 +73,7 @@ ARFLAGS = -srv # ------------ Targets ------------------------------------------------- .PHONY: all -all: $(LIB_TARGETS) $(TARGETS) +all: $(LIB_TARGETS) $(TARGETS) trbrpc.h .PHONY: clean clean: @@ -97,28 +97,26 @@ depend: # ------------ Dependencies -------------------------------------------- -trbcmd: trbcmd.o libtrbnet.a +trbcmd: trbcmd.o trbcmd.o: trbcmd.c trbnet.h trberror.h -trbdhcp: trbdhcp.o libtrbnet.a +trbdhcp: trbdhcp.o trbdhcp.o: trbdhcp.c trbnet.h trberror.h -trbflash: trbflash.o libtrbnet.a +trbflash: trbflash.o trbflash.o: trbflash.c trbnet.h trberror.h -trbrichcmd: trbrichcmd.o libtrbnet.a +trbrichcmd: trbrichcmd.o trbrichcmd.o: trbrichcmd.c trbnet.h trberror.h -trb_i2c: trb_i2c.o libtrbnet.a +trb_i2c: trb_i2c.o trb_i2c.o: trb_i2c.c trbnet.h trberror.h -pulser: pulser.o libtrbnet.a +pulser: pulser.o pulser.o: pulser.c trbnet.h trberror.h # ---------------------------------------------------------------------- -libtrbnet.a: trbnetrpc.o trbrpc_clnt.o trbrpc_xdr.o trberror.o - trbnetrpc.o: trbnetrpc.c trbrpc.h trbnet.h trberror.h trbrpc_clnt.o: trbrpc_clnt.c trbrpc.h