CProxy/Makefile
aixiao a2f0dc3992 修改: Makefile
修改:     conf.h
	修改:     conf/cproxy.ini
	新文件:   conf/cproxy.ini.explain
	修改:     cproxy.c
	修改:     cproxy.h
	修改:     cproxy_help.h
	修改:     cproxy_request.c
	修改:     cproxy_request.h
2019-02-16 17:28:47 +08:00

16 lines
294 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)