dbda8d6ce9 2007-07-21 drh: #!/usr/bin/make dbda8d6ce9 2007-07-21 drh: # dbda8d6ce9 2007-07-21 drh: #### The toplevel directory of the source tree. dbda8d6ce9 2007-07-21 drh: # dbda8d6ce9 2007-07-21 drh: SRCDIR = ../code/src dbda8d6ce9 2007-07-21 drh: dbda8d6ce9 2007-07-21 drh: #### C Compiler and options for use in building executables that dbda8d6ce9 2007-07-21 drh: # will run on the platform that is doing the build. dbda8d6ce9 2007-07-21 drh: # dbda8d6ce9 2007-07-21 drh: BCC = gcc -g -O2 dbda8d6ce9 2007-07-21 drh: dbda8d6ce9 2007-07-21 drh: #### The suffix to add to executable files. ".exe" for windows. dbda8d6ce9 2007-07-21 drh: # Nothing for unix. dbda8d6ce9 2007-07-21 drh: # dbda8d6ce9 2007-07-21 drh: E = dbda8d6ce9 2007-07-21 drh: dbda8d6ce9 2007-07-21 drh: #### C Compile and options for use in building executables that dbda8d6ce9 2007-07-21 drh: # will run on the target platform. This is usually the same dbda8d6ce9 2007-07-21 drh: # as BCC, unless you are cross-compiling. dbda8d6ce9 2007-07-21 drh: # dbda8d6ce9 2007-07-21 drh: #TCC = gcc -O6 dbda8d6ce9 2007-07-21 drh: TCC = gcc -g -O0 -Wall dbda8d6ce9 2007-07-21 drh: #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage dbda8d6ce9 2007-07-21 drh: TCC += -I../libtomcrypt-1.02/src/headers dbda8d6ce9 2007-07-21 drh: dbda8d6ce9 2007-07-21 drh: #### Extra arguments for linking against SQLite dbda8d6ce9 2007-07-21 drh: # dbda8d6ce9 2007-07-21 drh: LIBSQLITE = -lsqlite3 -lz -lm ../libtomcrypt-1.02/libtomcrypt.a dbda8d6ce9 2007-07-21 drh: dbda8d6ce9 2007-07-21 drh: #### Installation directory dbda8d6ce9 2007-07-21 drh: # dbda8d6ce9 2007-07-21 drh: INSTALLDIR = /var/www/cgi-bin dbda8d6ce9 2007-07-21 drh: dbda8d6ce9 2007-07-21 drh: dbda8d6ce9 2007-07-21 drh: # You should not need to change anything below this line dbda8d6ce9 2007-07-21 drh: ############################################################################### dbda8d6ce9 2007-07-21 drh: include $(SRCDIR)/main.mk