unqlitego/Makefile
2013-11-27 09:25:59 +09:00

12 lines
232 B
Makefile

# 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
gcc -c src/unqlite.c -I./src -DUNQLITE_ENABLE_THREADS=1
ar rv libunqlite.a unqlite.o