"Fossies" - the Fresh Open Source Software Archive

Member "sqlite-autoconf-3320300/Makefile.fallback" (18 Jun 2020, 547 Bytes) of package /linux/misc/sqlite-autoconf-3320300.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    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)