CProxy/Makefile
aixiao e0261c8942 修改: Makefile
修改:     README.md
	修改:     conf.c
	修改:     conf.h
	修改:     conf/cproxy.ini
	修改:     cproxy.c
	修改:     cproxy.h
	新文件:   cproxy_help.c
	新文件:   cproxy_help.h
	修改:     cproxy_request.c
	修改:     cproxy_request.h
	修改:     log/cproxy.pid
2019-02-07 17:26:48 +08:00

16 lines
295 B
Makefile

CC = gcc
CFLAGS = -g -Wall -Werror -I../iniparser/src -L../iniparser
LIBS = -liniparser
OBJ := cproxy
all: cproxy.o conf.o cproxy_request.o cproxy_help.o
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
strip $(OBJ)
-chmod a+x $(OBJ)
.c.o:
$(CC) $(CFLAGS) -c $< $(LIBS)
clean:
rm -rf *.o
rm $(OBJ)