CProxy/Makefile
aixiao daa409875b 修改: Makefile
新文件:   README.md
	新文件:   conf/cproxy.ini
	修改:     cproxy.c
	新文件:   cproxy.h
	新文件:   cproxy_request.c
2019-01-10 23:12:51 +08:00

15 lines
266 B
Makefile

CC = gcc
CFLAGS = -g -Wall -Werror -I./iniparser/src -L ./iniparser
LIBS = -liniparser
all: cproxy
cproxy: cproxy.o
$(CC) $(CFLAGS) cproxy.o cproxy_request.o -o cproxy $(LIBS)
cproxy.o:
$(CC) $(CFLAGS) -c cproxy.c cproxy_request.c
clean:
rm -rf *.o
rm cproxy