Added dialyzer build. Modified priv/Makefile to J. Armstrong's comments.

This commit is contained in:
Tee Teoh
2008-10-16 16:35:19 -04:00
parent d8def928b3
commit e1d88eb9a0
2 changed files with 7 additions and 2 deletions

View File

@@ -1,14 +1,14 @@
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
$(GCC) -Wall erl_comm.o sqlite_port.o $(FLAGS) $(LIB) -o sqlite_port
obj: erl_comm.c sqlite_port.c
$(GCC) -Wall -c $(FLAGS) erl_comm.c sqlite_port.c
clean:
- rm -f *.o sqlite_port