This commit is contained in:
2024-09-20 15:27:11 +08:00
commit 8abf0ce512
16 changed files with 1412 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
CFLAGS += -g -Os -Wall
LIBS = -static
OBJ := denyip
all: main.o ip2region.o xdb_searcher.o qqwry.o
$(CC) $(CFLAGS) -o $(OBJ) $^ $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c $<
clean:
rm -rf *.o
rm -rf $(OBJ)