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