2018-08-22 19:16:16 +08:00
|
|
|
CC = gcc
|
2019-01-10 23:12:51 +08:00
|
|
|
CFLAGS = -g -Wall -Werror -I./iniparser/src -L ./iniparser
|
|
|
|
LIBS = -liniparser
|
2018-08-22 19:16:16 +08:00
|
|
|
|
|
|
|
all: cproxy
|
|
|
|
|
|
|
|
cproxy: cproxy.o
|
2019-01-10 23:12:51 +08:00
|
|
|
$(CC) $(CFLAGS) cproxy.o cproxy_request.o -o cproxy $(LIBS)
|
2018-08-22 19:16:16 +08:00
|
|
|
|
|
|
|
cproxy.o:
|
2019-01-10 23:12:51 +08:00
|
|
|
$(CC) $(CFLAGS) -c cproxy.c cproxy_request.c
|
2018-08-22 19:16:16 +08:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf *.o
|
|
|
|
rm cproxy
|