From 01c480f1c3bae4aa1f6f85b17996f7bf78790035 Mon Sep 17 00:00:00 2001 From: wang_chengh <13383929+wang_chengh@user.noreply.gitee.com> Date: Fri, 22 Sep 2023 14:54:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/cgi-bin/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 www/cgi-bin/Makefile diff --git a/www/cgi-bin/Makefile b/www/cgi-bin/Makefile new file mode 100644 index 0000000..bd67798 --- /dev/null +++ b/www/cgi-bin/Makefile @@ -0,0 +1,12 @@ +all: + gcc c_mysql_user_pwd.c -o login.cgi -lmysqlclient -lcjson + gcc c_mysql_ip_mac.c -o arp.cgi -lmysqlclient -lcjson + gcc c_mysql_ip_fw_view.c -o fw.cgi -lmysqlclient -lcjson + gcc c_mysql_ip_fw_add_del.c -o send.cgi -lmysqlclient -lcjson + + +clean: + rm -rf *.o login.cgi a.out + rm -rf *.o arp.cgi a.out + rm -rf *.o fw.cgi a.out + rm -rf *.o send.cgi a.out \ No newline at end of file