Working version of sqlite

This commit is contained in:
Tee Teoh
2008-06-04 23:14:51 -04:00
parent 91ff5f6a88
commit 7a4ae6f539
3 changed files with 209 additions and 33 deletions

View File

@@ -1,7 +1,8 @@
OTP_DIR=/opt/local/lib/erlang/lib/erl_interface-3.5.5.3
LIB=-lsqlite3 -lerl_interface -lei
FLAGS=-I$(OTP_DIR)/include -L$(OTP_DIR)/lib
GCC=/opt/local/bin/gcc-apple-4.2
#GCC=/opt/local/bin/gcc-apple-4.2
GCC=/usr/bin/gcc
all: erl_comm.c sqlite_port.c
$(GCC) -Wall -o sqlite_port erl_comm.c sqlite_port.c $(FLAGS) $(LIB)