OK got it to work, thanks
I guess its the way of compiling...it works if I do it simulair to yours:
Code:
server:
$(CXX) $(CXXFLAGS) -o cube_bot_fbsd-server -DSTANDALONE $(SERVER_FILES) $(SERVER_LIBS)
Where SERVER_FILES are the actual source files instead of the object files.