CProxy/Makefile
aixiao 266aade849 修改: Makefile
修改:     README.md
	新文件:   conf.c
	新文件:   conf.h
	修改:     cproxy.c
	修改:     cproxy.h
	修改:     cproxy_request.c
	新文件:   cproxy_request.h
	新文件:   log/cproxy.pid
2019-01-19 16:13:58 +08:00

16 lines
281 B
Makefile

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