1 Star 0 Fork 3

vjk0909/HTTP项目

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
Makefile 860 Bytes
Copy Edit Raw Blame History
文弱书生老方丈 authored 2024-03-11 21:52 . 3_11_mod
bin = HttpServer
src = main.cc
outPutDir = out
cp = g++
link_flags = -std=c++11 -lpthread
.PHONY:all
all:$(bin) cgi
$(bin):$(src)
$(cp) -o $@ $^ $(link_flags)
.PHONY:cgi
cgi:
cd cgi;make;cd ..
.PHONY:out
out:
mkdir $(outPutDir)
mv $(bin) $(outPutDir)
cp -r wwwroot $(outPutDir)
cp ./cgi/shellCgi.sh $(outPutDir)/wwwroot
cp ./cgi/pythonCgi.py $(outPutDir)/wwwroot
mv ./cgi/mysqlEnrollCgi $(outPutDir)/wwwroot
mv ./cgi/mysqlLogInCgi $(outPutDir)/wwwroot
mv ./cgi/testCgi $(outPutDir)/wwwroot
mv ./cgi/calculateCgi $(outPutDir)/wwwroot
#.PHONY:out
#out:
# mkdir $(outPutDir)
# mv $(cgi) wwwroot
# mv $(bin) $(outPutDir)
# cp -r wwwroot $(outPutDir)
# cp ./cgi/shellCgi.sh $(outPutDir)/wwwroot
# cp ./cgi/python.py $(outPutDir)/wwwroot
# mv ./cgi/mysqlCgi $(outPutDir)/wwwroot
.PHONY:clean
clean:
cd cgi; make clean; cd ..; rm -rf $(outPutDir)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/vjk0909/http-project.git
git@gitee.com:vjk0909/http-project.git
vjk0909
http-project
HTTP项目
master

Search

0d507c66 1850385 C8b1a773 1850385