]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
update
authorhadaq <hadaq>
Mon, 23 May 2011 01:00:15 +0000 (01:00 +0000)
committerhadaq <hadaq>
Mon, 23 May 2011 01:00:15 +0000 (01:00 +0000)
trbnetd/Makefile

index 1cb437d4c0ea5ab860f64fe45ce1255ee303cebd..c14af7e9c18204c4fb0a306efce6961229a10252 100644 (file)
@@ -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