commit
47fe90bd49
2 changed files with 8 additions and 5 deletions
|
@ -5,11 +5,7 @@ go:
|
||||||
- 1.1
|
- 1.1
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
install:
|
install: make all
|
||||||
- git submodule init
|
|
||||||
- git submodule update
|
|
||||||
- make
|
|
||||||
- go install
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test ./
|
- go test ./
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -1,5 +1,12 @@
|
||||||
# for GNU make
|
# for GNU make
|
||||||
|
|
||||||
|
all: libunqlite.a
|
||||||
|
go build
|
||||||
|
|
||||||
|
src/unqlite.c:
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
libunqlite.a: src/unqlite.c src/unqlite.h
|
libunqlite.a: src/unqlite.c src/unqlite.h
|
||||||
gcc -c src/unqlite.c -I./src -DUNQLITE_ENABLE_THREADS=1
|
gcc -c src/unqlite.c -I./src -DUNQLITE_ENABLE_THREADS=1
|
||||||
ar rv libunqlite.a unqlite.o
|
ar rv libunqlite.a unqlite.o
|
||||||
|
|
Loading…
Reference in a new issue