NAME

tools/build/c2str.pl

DESCRIPTION

constant string support

SYNOPSIS

    # generate .str from .c and maintain all_cstring.str
    .c.str : # suffix rule
        perl tools/build/c2str.pl $< > $@

    # --all generate src/string/private_cstring.h
    src/string/private_cstring.h : $(STR_FILES) tools/build/c2str.pl
        perl tools/build/c2str.pl --all

    # --init unlink all_cstring.str
    prog-clean :
        ...
        perl tools/build/c2str.pl --init