#!/bin/sh HEADER=src/include/pymap_constants.h echo "#ifndef __PYMAP_CONSTANTS__" > $HEADER echo "#define __PYMAP_CONSTANTS__" >> $HEADER for file in src/include/constants/pymap/*.h do base=$(basename -- "$file") echo "#include " >> $HEADER done echo "#endif" >> $HEADER