a0b7ffb184
NB: This is a speculative experiment and could easily result in a dead-end branch. FossilOrigin-Name: 3d930501a2acb7f20932cfeb4e3fe308b4569cd6
34 lines
585 B
Makefile
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 $<
|