CProxy/Makefile
aixiao 68aada0edd 修改: Makefile
修改:     conf.c
	修改:     conf.h
	修改:     conf/cproxy.ini
	修改:     conf/cproxy.ini.explain
	修改:     cproxy.c
	修改:     cproxy_help.c
	修改:     cproxy_request.c
2019-04-21 10:41:28 +08:00

16 lines
288 B
Makefile

CC ?= gcc
CFLAGS += -g -Wall -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)