aixiao
daa409875b
新文件: README.md 新文件: conf/cproxy.ini 修改: cproxy.c 新文件: cproxy.h 新文件: cproxy_request.c
15 lines
266 B
Makefile
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
|