first
This commit is contained in:
commit
0e6a35f250
1 changed files with 15 additions and 0 deletions
15
makefile
Executable file
15
makefile
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
# makefile
|
||||||
|
|
||||||
|
all: dataserver simpleclient
|
||||||
|
|
||||||
|
reqchannel.o: reqchannel.h reqchannel.cpp
|
||||||
|
#g++-4.7 -c -g reqchannel.cpp
|
||||||
|
g++ -std=c++11 -c -g reqchannel.cpp
|
||||||
|
|
||||||
|
dataserver: dataserver.cpp reqchannel.o
|
||||||
|
#g++-4.7 -g -o
|
||||||
|
g++ -std=c++11 -g -odataserver dataserver.cpp reqchannel.o -lpthread
|
||||||
|
|
||||||
|
simpleclient: simpleclient.cpp reqchannel.o
|
||||||
|
#g++-4.7 -g -o simpleclient simpleclient.cpp reqchannel.o
|
||||||
|
g++ -std=c++11 -g -o simpleclient simpleclient.cpp reqchannel.o
|
Reference in a new issue