mirror of
https://github.com/lionsoul2014/ip2region.git
synced 2025-12-08 19:25:22 +00:00
regen the xdb and remove the -g for c binding default compile flag
This commit is contained in:
parent
3066d243cd
commit
27b5efde55
@ -1,10 +1,10 @@
|
||||
all: xdb_searcher util_test
|
||||
|
||||
xdb_searcher: xdb_searcher.h xdb_searcher.c main.c
|
||||
gcc -g -O2 -I./ xdb_searcher.c main.c -o xdb_searcher
|
||||
gcc -O2 -I./ xdb_searcher.c main.c -o xdb_searcher
|
||||
|
||||
util_test: xdb_searcher.h xdb_searcher.c util_test.c
|
||||
gcc -g -O2 -I./ xdb_searcher.c util_test.c -o util_test
|
||||
gcc -O2 -I./ xdb_searcher.c util_test.c -o util_test
|
||||
|
||||
xdb_searcher.o: xdb_searcher.c
|
||||
gcc -c -o xdb_searcher.o xdb_searcher.c
|
||||
@ -21,4 +21,4 @@ clean:
|
||||
find ./ -name xdb_searcher | xargs rm -f
|
||||
rm -rf build
|
||||
|
||||
.PHONY: all clean xdb_searcher util_test
|
||||
.PHONY: all clean xdb_searcher util_test
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user