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