1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
SRCS = TcpSocket.cxx OBJS = $(SRCS:.cxx=.o) DIR_CPPFLAGS = -I$(top_srcdir) @SOCKLEN_T_DEFINE@ library = libnetwork.a all:: $(library) $(library): $(OBJS) rm -f $(library) $(AR) $(library) $(OBJS) $(RANLIB) $(library) # followed by boilerplate.mk