Skip to content

Commit

Permalink
docs: makefile in c++ api
Browse files Browse the repository at this point in the history
  • Loading branch information
bookug committed Dec 12, 2017
1 parent 8678688 commit 3a8c6a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions api/http/cpp/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
CC=g++ -std=c++11

lib_dir=../lib/
socket_obj_dir=../../../../.objs/

all: $(lib_dir)libgstoreconnector.a

$(lib_dir)libgstoreconnector.a: GstoreConnector.o $(socket_obj_dir)Socket.o
ar -crv $(lib_dir)libgstoreconnector.a GstoreConnector.o $(socket_obj_dir)Socket.o
$(lib_dir)libgstoreconnector.a: GstoreConnector.o
ar -crv $(lib_dir)libgstoreconnector.a GstoreConnector.o

GstoreConnector.o: GstoreConnector.cpp GstoreConnector.h $(socket_obj_dir)Socket.o
GstoreConnector.o: GstoreConnector.cpp GstoreConnector.h
$(CC) -c GstoreConnector.cpp -o GstoreConnector.o

clean:
Expand Down

0 comments on commit 3a8c6a8

Please sign in to comment.