Nenhuma descrição

generate_pymap_header.sh 299B

1234567891011
  1. #!/bin/sh
  2. HEADER=src/include/pymap_constants.h
  3. echo "#ifndef __PYMAP_CONSTANTS__" > $HEADER
  4. echo "#define __PYMAP_CONSTANTS__" >> $HEADER
  5. for file in src/include/constants/pymap/*.h
  6. do
  7. base=$(basename -- "$file")
  8. echo "#include <constants/pymap/$base>" >> $HEADER
  9. done
  10. echo "#endif" >> $HEADER