Edit

kc3-lang/kc3/ic3/update_sources

Branch :

  • ic3/update_sources
  • #!/bin/sh
    
    . ../config.subr
    
    echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
    echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
    
    SOURCES="$(ls *.c)"
    SOURCES="$(echo "$SOURCES" | tr '\n' ' ')"
    echo "SOURCES = $SOURCES" >> ${SOURCES_MK}
    echo "SOURCES='$SOURCES'" >> ${SOURCES_SH}
    
    update_sources_mk
    update_sources_sh