File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ LFLAGS=-lpthread
99 $(CC) $(CFLAGS) -c $(.IMPSRC)
1010OBJS=buffer.o asio_service.o cluster_config.o peer.o snapshot.o srv_config.o fs_log_store.o raft_server.o snapshot_sync_req.o
1111asio/asio/include/asio.hpp:
12- @if [ ! -d "asio/asio" ]; then git clone https://github.com/chriskohlhoff/asio.git ; fi;
13- @git -C ./asio checkout asio-1-14-0
12+ @git submodule update --init
1413
1514test: asio/asio/include/asio.hpp
1615 @cd tests && make -f Makefile.bsd testr && ./debug/testr
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ VPATH=./src/
77 $(CC) $(CFLAGS) -c -o $@ $<
88OBJS=buffer.o asio_service.o cluster_config.o peer.o snapshot.o srv_config.o fs_log_store.o raft_server.o snapshot_sync_req.o
99asio/asio/include/asio.hpp:
10- @if [ ! -d "asio/asio" ]; then git clone https://github.com/chriskohlhoff/asio.git ; fi;
11- @git -C ./asio checkout asio-1-14-0
10+ @git submodule update --init
1211
1312testr: asio/asio/include/asio.hpp
1413 @cd tests && make -f Makefile.lx testr && ./debug/testr
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ VPATH=./src/
77 $(CC) $(CFLAGS) -c -o $@ $<
88OBJS=buffer.o asio_service.o cluster_config.o peer.o snapshot.o srv_config.o fs_log_store.o raft_server.o snapshot_sync_req.o
99asio/asio/include/asio.hpp:
10- @if [ ! -d "asio/asio" ]; then git clone https://github.com/chriskohlhoff/asio.git ; fi;
11- @git -C ./asio checkout asio-1-14-0
10+ @git submodule update --init
1211
1312testr: asio/asio/include/asio.hpp
1413 @cd tests && make -f Makefile.mac testr && ./debug/testr
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ SOURCES=src\raft_server.cxx\
1818asio: asio/asio/include/asio.hpp
1919
2020asio/asio/include/asio.hpp:
21- @git clone https://github.com/chriskohlhoff/asio.git
22- @git -C ./asio checkout asio-1-14-0
21+ @git submodule update --init
2322
2423tests: asio
2524 @cd tests && nmake -f Makefile.win all && testr.exe && cd ..
You can’t perform that action at this time.
0 commit comments