#Make the cgi programs
CC=arm-linux-gnueabihf-gcc
#CC=gcc
CFLAGS= -g
area_add.cgi:area_add.c
$(CC) $(CFLAGS) -o $@ $^
area_add_post.cgi:area_add_post.c
$(CC) $(CFLAGS) -o $@ $^
area_con.cgi:area_con.c
$(CC) $(CFLAGS) -o $@ $^
area_con_post.cgi:area_con_post.c
$(CC) $(CFLAGS) -o $@ $^
dev_add.cgi:dev_add.c
$(CC) $(CFLAGS) -o $@ $^
dev_add_post.cgi:dev_add_post.c
$(CC) $(CFLAGS) -o $@ $^
dev_con.cgi:dev_con.c
$(CC) $(CFLAGS) -o $@ $^
dev_con_post.cgi:dev_con_post.c
$(CC) $(CFLAGS) -o $@ $^
install:
cp ./*.cgi /home/tmp/cgi-bin
clean:
rm -f ./*.cgi
基于ARM的智能灯光控制系统总结(19-网页CGI进程之makefile)
最新推荐文章于 2021-09-12 21:09:55 发布