1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Get Makefile.linux-generic (formerly Makefile.linux-gcc) working with jimsh in out-of-tree builds. Pass on -DHAVE_READLINE=1 to the sqlite3 shell if configure detects it.

FossilOrigin-Name: a555ff6dbc2ded5a9c65c8ef483f3197298848a580dda25ba0b721ba13167ad4
This commit is contained in:
stephan
2024-10-24 03:50:40 +00:00
parent 8c97ad8834
commit e74c738e55
6 changed files with 81 additions and 50 deletions

29
Makefile.linux-generic Normal file
View File

@ -0,0 +1,29 @@
#!/usr/make
#
# Makefile for SQLITE
#
# This is a template makefile for SQLite. Most people prefer to
# use the autoconf generated "configure" script to generate the
# makefile automatically. But that does not work for everybody
# and in every situation. If you are having problems with the
# "configure" script, you might want to try this makefile as an
# alternative. Create a copy of this file, edit the parameters
# below and type "make".
#
#### The toplevel directory of the source tree. This is the directory
# that contains this "Makefile.in" and the "configure.in" script.
#
TOP ?= .
CFLAGS += -fPIC
SHELL_OPT ?= -DHAVE_READLINE=1
# You should not have to change anything below this line
###############################################################################
include $(TOP)/main.mk
sqlite_cfg.h:
touch $@
distclean-.:
rm -f sqlite_cfg.h