1*fc232d6fSdrh#!/usr/bin/make
2*fc232d6fSdrh#
3*fc232d6fSdrh# If the configure script does not work, then this Makefile is available
4*fc232d6fSdrh# as a backup.  Manually configure the variables below.
5*fc232d6fSdrh#
6*fc232d6fSdrh# Note:  This makefile works out-of-the-box on MacOS 10.2 (Jaguar)
7*fc232d6fSdrh#
8*fc232d6fSdrhCC = gcc
9*fc232d6fSdrhCFLAGS = -O0 -I.
10*fc232d6fSdrhLIBS = -lz
11*fc232d6fSdrhCOPTS += -D_BSD_SOURCE
12*fc232d6fSdrhCOPTS += -DSQLITE_ENABLE_LOCKING_STYLE=0
13*fc232d6fSdrhCOPTS += -DSQLITE_THREADSAFE=0
14*fc232d6fSdrhCOPTS += -DSQLITE_OMIT_LOAD_EXTENSION
15*fc232d6fSdrhCOPTS += -DSQLITE_WITHOUT_ZONEMALLOC
16*fc232d6fSdrhCOPTS += -DSQLITE_ENABLE_RTREE
17*fc232d6fSdrh
18*fc232d6fSdrhsqlite3:	shell.c sqlite3.c
19*fc232d6fSdrh	$(CC) $(CFLAGS) $(COPTS) -o sqlite3 shell.c sqlite3.c $(LIBS)
20