Building to building connection?

How do i connect two nertworks together if buildings are about 50m apart?,and also have two laptops that i would like to access the network as well,do i need server for each building or can they share just one server in one building for database and printing facilities?
Answer
U dont need 2 server one server can be work. but its all depends on ur requirment. ist thing is how to establish a network connection. through wire or wireless?. all others configuration are second thing.ist of all think abt connectivity.once connection is establish then u can do e thing. u can share ur data on ur server and access from other building. . . . .