diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9db145e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "C_Cpp.errorSquiggles": "disabled", + "files.associations": { + "string.h": "c", + "stdlib.h": "c", + "ip2region.h": "c" + } +} \ No newline at end of file diff --git a/Makefile b/Makefile index 67773ef..1da65d6 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc STRIP := $(CROSS_COMPILE)strip CFLAGS += -g -Os -Wall -LIBS = -static +LIBS = -lm -static OBJ := denyip all: main.o ip2region.o xdb_searcher.o qqwry.o