Files
erlang-sqlite3/priv/Makefile
Tee Teoh e4878b2064 Makefile changes for better compiles.
sqlite.erl supports start_link/stop and open/close paradigm.
added write_sql creation.
2008-06-18 23:34:09 -04:00

15 lines
383 B
Makefile

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=/usr/bin/gcc
all: obj
$(GCC) -Wall -o sqlite_port $(FLAGS) $(LIB) erl_comm.o sqlite_port.o
obj: erl_comm.c sqlite_port.c
$(GCC) -Wall -c $(FLAGS) erl_comm.c sqlite_port.c
clean:
- rm -f *.o sqlite_port