Overview
Comment: | If sqlite3.o is not present, try to automatically compile sqlite3.c if it is present. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f5ea4ecd8dc2bf99176d9359a12f2bf5 |
User & Date: | user on 2022-07-14 06:09:56 |
Other Links: | manifest | tags |
Context
2022-07-16
| ||
01:20 | Implement the global (Density) block. check-in: 6e7ed8025b user: user tags: trunk | |
2022-07-14
| ||
06:09 | If sqlite3.o is not present, try to automatically compile sqlite3.c if it is present. check-in: f5ea4ecd8d user: user tags: trunk | |
2022-07-12
| ||
00:02 | Improve compilation instructions and script to check for a common mistake. check-in: 60a7806b31 user: user tags: trunk | |
Changes
Modified compile from [dd47d6a91c] to [1522779e22].
︙ | ︙ | |||
9 10 11 12 13 14 15 | test -f CFLAGS || echo xxx > CFLAGS test "xx$CFLAGS" = "x`cat CFLAGS`" || rm bindings.o class.o picture.o function.o exec.o game.o edit.o picedit.o hash.o || true echo "x$CFLAGS" > CFLAGS test "x$EXE" = "x" && export EXE=~/bin/heromesh echo 'Flags: ' "$CFLAGS" echo 'Target filename: ' "$EXE" if test \! \( -f sqlite3.o -a -f sqlite3.h \); then | > | | | > | | > > | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | test -f CFLAGS || echo xxx > CFLAGS test "xx$CFLAGS" = "x`cat CFLAGS`" || rm bindings.o class.o picture.o function.o exec.o game.o edit.o picedit.o hash.o || true echo "x$CFLAGS" > CFLAGS test "x$EXE" = "x" && export EXE=~/bin/heromesh echo 'Flags: ' "$CFLAGS" echo 'Target filename: ' "$EXE" if test \! \( -f sqlite3.o -a -f sqlite3.h \); then if test \! \( -f sqlite3.c -a -f sqlite3.h \); then echo '**ERROR**' echo 'SQLite files are not found.' echo 'Please read the installation/compilation instructions in the README file.' exit 1 fi echo '* sqlite3' gcc -s -O2 -c -DSQLITE_OMIT_DEPRECATED -DHAVE_MALLOC_USABLE_SIZE -DHAVE_USLEEP -DSQLITE_DQS=0 sqlite3.c fi which node > /dev/null || echo 'Node.js not found; ignoring changes to instructions/quarks' which node > /dev/null || touch -cm instruc.h names.h quarks.h test instruc -nt instruc.h && node instruc.js > instruc.h test instruc.js -nt instruc.h && node instruc.js > instruc.h test names.js -nt names.h && node names.js > names.h test names.js -nt instruc.h && node instruc.js > instruc.h test quarks -nt quarks.h && node quarks.js > quarks.h |
︙ | ︙ |