Mercurial
comparison third_party/sqlite3/Makefile.fallback @ 173:827c6ac504cd hg-web
Merged in default here.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 18:59:10 -0800 |
| parents | 589bab390fb4 |
| children |
comparison
equal
deleted
inserted
replaced
| 151:c033667da5f9 | 173:827c6ac504cd |
|---|---|
| 1 #!/usr/bin/make | |
| 2 # | |
| 3 # If the configure script does not work, then this Makefile is available | |
| 4 # as a backup. Manually configure the variables below. | |
| 5 # | |
| 6 # Note: This makefile works out-of-the-box on MacOS 10.2 (Jaguar) | |
| 7 # | |
| 8 CC = gcc | |
| 9 CFLAGS = -O0 -I. | |
| 10 LIBS = -lz | |
| 11 COPTS += -D_BSD_SOURCE | |
| 12 COPTS += -DSQLITE_ENABLE_LOCKING_STYLE=0 | |
| 13 COPTS += -DSQLITE_THREADSAFE=0 | |
| 14 COPTS += -DSQLITE_OMIT_LOAD_EXTENSION | |
| 15 COPTS += -DSQLITE_WITHOUT_ZONEMALLOC | |
| 16 COPTS += -DSQLITE_ENABLE_RTREE | |
| 17 | |
| 18 sqlite3: shell.c sqlite3.c | |
| 19 $(CC) $(CFLAGS) $(COPTS) -o sqlite3 shell.c sqlite3.c $(LIBS) |