CProxy/Makefile

17 lines
368 B
Makefile
Raw Normal View History

CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
2019-11-22 18:57:18 +08:00
CFLAGS += -g -O2 -Wall -I../iniparser/src -L../iniparser
2020-01-21 19:48:05 +08:00
LIBS = -liniparser -pthread -static
OBJ := CProxy
2020-02-13 15:33:38 +08:00
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)
2020-01-21 19:48:05 +08:00