summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2022-06-11Web: canvas now updates on the fly based on inputuntir_l
Also some other minor changes to thw web README.md and the Makefile, and making some stuff const where they weren't throughout the lib/ tree as well.
2022-02-25Tell Emscripten not to minify the HTML shell file since it causes errorsuntir_l
For some reason Emscripten's HTML minification step introduces errors into the markup, which is very sloppy. Examples are missing the space in the doctype declaration and messing with meta tags in some ways. Since our HTML shell file is tiny we will just not bother minifying it. If it was large we would want to introduce a separate and better minification step.
2022-02-25Add web app frontend, restructure almost everythinguntir_l
- Add web app frontend code - Add .html, .js, .wasm to .gitignore - Restructure Makefile to work with emmake, add build targets for web app, add .html, .js, .wasm to make clean - Explain the pattern in the README - Add explanation of web frontend to README - Restructure README generally for better clarity - Remove "make web app version" from todos in README - Set Doxygen to EXTRACT_ALL so trivial and useless doc comments are not needed when the naming suffices to be explanatory. - Move ascii_binary_str_to_ints to library code in new file hitomezashi_utils.c (and corresponding header) as web app also needs it. - Fix SDL2 include path so it also works with Emscripten - Remove some cluttering and unnecessary doc comments - Improve some doc comments
2022-02-25Reorganise CLI and lib into separate dirs, add doc comments for Doxygenuntir_l
2022-02-25Change argument parsing to use optparse, fix bugs in it, misc. changesuntir_l
- Change argument parsing library from xgetopt to optparse (pretty close to a drop-in replacement). - Fix bugs in the argument parsing. There were several. - Remove an extraneous printf added for debugging purposes. - Add more bounds checks for numeric arguments to avoid passing garbage to the library code and hitting assertions when the input is bad. - Change the clang-format invocation in the Makefile to have --verbose. - Change -Wpedantic to --pedantic-errors in CFLAGS, add -Wno-unused-function so it doesn't complain about the ones from optparse (such are the perils of single-header libraries).
2022-02-25Add clang-format invocation to Makefileuntir_l
2022-02-18Initial commituntir_l