diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-31 19:15:10 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-01 10:48:43 +0300 |
commit | a882b1c4a2e95f982e4ef77d2889abbd6d912529 (patch) | |
tree | ac62df3a7509f50c5a838c64677ecaab02c52d65 /upstream/Makefile.fallback | |
parent | 7b96e8f625ed59a12b4d101218af215ab15d45e3 (diff) |
Upgrade to 3.27.2
Diffstat (limited to 'upstream/Makefile.fallback')
-rw-r--r-- | upstream/Makefile.fallback | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/upstream/Makefile.fallback b/upstream/Makefile.fallback new file mode 100644 index 0000000..9355b14 --- /dev/null +++ b/upstream/Makefile.fallback @@ -0,0 +1,19 @@ +#!/usr/bin/make +# +# If the configure script does not work, then this Makefile is available +# as a backup. Manually configure the variables below. +# +# Note: This makefile works out-of-the-box on MacOS 10.2 (Jaguar) +# +CC = gcc +CFLAGS = -O0 -I. +LIBS = -lz +COPTS += -D_BSD_SOURCE +COPTS += -DSQLITE_ENABLE_LOCKING_STYLE=0 +COPTS += -DSQLITE_THREADSAFE=0 +COPTS += -DSQLITE_OMIT_LOAD_EXTENSION +COPTS += -DSQLITE_WITHOUT_ZONEMALLOC +COPTS += -DSQLITE_ENABLE_RTREE + +sqlite3: shell.c sqlite3.c + $(CC) $(CFLAGS) $(COPTS) -o sqlite3 shell.c sqlite3.c $(LIBS) |