echo "# copying header..." mkdir lib mkdir lib/include cp rgfw/RGFW.h lib/include/RGFW.h echo "# creating c file to generate from..." clang -E -DRGFW_IMPLEMENTATION -DRGFW_OPENGL lib/include/RGFW.h -o lib/include/RGFW.c echo "# generating library RGFW.Generated..." hs-bindgen-cli preprocess \ -Ilib/include \ --create-output-dirs \ --overwrite-files \ --hs-output-dir lib \ --module RGFW.Generated \ --clang-option=-DRGFW_OPENGL \ --clang-option=-DRGFW_EXPORT \ RGFW.h