sqlite/ext/lsm1/Makefile
drh a0b7ffb184 Import the LSM code from SQLite4 for use in an experimental virtual table.
NB: This is a speculative experiment and could easily result in a dead-end
branch.

FossilOrigin-Name: 3d930501a2acb7f20932cfeb4e3fe308b4569cd6
2015-11-16 16:00:22 +00:00

34 lines
585 B
Makefile

#!/usr/bin/make
#
# This is a temporary makefile for use during experimental development.
# Replace with something more portable, if the experiments actually work out.
#
CC = gcc
CFLAGS =-g -fPIC -Wall -I. -I/home/drh/sqlite/bld
LSMOBJ = \
lsm_ckpt.o \
lsm_file.o \
lsm_log.o \
lsm_main.o \
lsm_mem.o \
lsm_mutex.o \
lsm_shared.o \
lsm_sorted.o \
lsm_str.o \
lsm_tree.o \
lsm_unix.o \
lsm_varint.o
LSMHDR = \
lsm.h \
lsmInt.h
all: lsm.so
lsm.so: $(LSMOBJ)
$(CC) $(CFLAGS) -shared -o lsm.so $(LSMOBJ)
%.o: %.c $(LSMHDR)
$(CC) $(CFLAGS) -c $<