Write our assets.h with a fixed include guard.

This commit is contained in:
Joris Vink 2014-09-26 15:50:56 +02:00
parent 1c83af511d
commit 0909e6bac1
1 changed files with 2 additions and 2 deletions

View File

@ -309,8 +309,8 @@ cli_build(int argc, char **argv)
cli_file_open(assets_header,
O_CREAT | O_TRUNC | O_WRONLY, &s_fd);
cli_file_writef(s_fd, "#ifndef __H_%s_ASSETS_H\n", appl);
cli_file_writef(s_fd, "#define __H_%s_ASSETS_H\n", appl);
cli_file_writef(s_fd, "#ifndef __H_KORE_ASSETS_H\n");
cli_file_writef(s_fd, "#define __H_KORE_ASSETS_H\n");
cli_find_files(assets_path, cli_build_asset);
cli_file_writef(s_fd, "\n#endif\n");
cli_file_close(s_fd);