You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
449 B

#!/bin/sh
# Run this script after updating the bundled sqlite library
cc -o sqlite/tool/lemon sqlite/tool/lemon.c
./sqlite/tool/lemon sqlite/src/parse.y
cat sqlite/src/parse.h sqlite/src/vdbe.c | awk -f sqlite/mkopcodeh.awk > sqlite/src/opcodes.h
sort -n +2 sqlite/src/opcodes.h | awk -f sqlite/mkopcodec.awk > sqlite/src/opcodes.c
cc -o sqlite/tool/mkkeywordhash sqlite/tool/mkkeywordhash.c
./sqlite/tool/mkkeywordhash > sqlite/src/keywordhash.h