init
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user