CProxy/Makefile
aixiao e6072984a2 Add SSL encoding
Add long option
Add Android NDK compilation
No longer use the iniparser to read configuration files
2020-03-24 11:46:32 +08:00

17 lines
322 B
Makefile

CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
CFLAGS += -g -O2 -Wall
LIBS = -pthread -static
OBJ := CProxy
all: proxy.o http.o request.o picohttpparser.o conf.o timeout.o kill.o help.o
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c $< $(LIBS)
clean:
rm -rf *.o
rm $(OBJ)