On Wed, May 02, 2007 at 14:50:46 +0000, [EMAIL PROTECTED] wrote:
> Tomash Brechko <[EMAIL PROTECTED]> wrote:
> > Currently, I have to look though generated Makefile to see what
> > options/defines I should use to get the same result. It there a
> > better way?
>
> There is no better way. But you are welcomed to submit
> patches against the makefile.
Below is a patch for 'sqlite3.o' make target. I didn't manage to add
sqlite3-link-options target because LIBPTHREAD variable is empty.
Indeed, neither sqlite3 executable nor libsqlite3.so need pthreads
library to be built. And so for libdl :-/.
--- Makefile.in-orig 2007-05-02 19:12:21.000000000 +0400
+++ Makefile.in 2007-05-02 19:12:29.000000000 +0400
@@ -306,6 +306,9 @@ target_source: $(SRC) parse.c opcodes.c
sqlite3.c: target_source $(TOP)/tool/mksqlite3c.tcl
tclsh $(TOP)/tool/mksqlite3c.tcl
+sqlite3.o: sqlite3.c
+ $(TCC) -c sqlite3.c
+
# Rules to build the LEMON compiler generator
#
lemon$(BEXE): $(TOP)/tool/lemon.c $(TOP)/tool/lempar.c
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------