Created
October 27, 2021 17:29
-
-
Save mattpolzin/54d9cc154d57d007b9246eb157f696bf to your computer and use it in GitHub Desktop.
NCurses workaround (makefile snippet)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NCURSES_VERSION ?= 6 | |
ncurses-idris-dep: | |
mkdir -p deps && \ | |
cd deps && \ | |
git clone https://github.com/mattpolzin/ncurses-idris.git && \ | |
cd ncurses-idris && \ | |
cat NCurses.idr | sed 's/libncurses"/libncurses $(NCURSES_VERSION)"/' > tmp.idr && \ | |
rm NCurses.idr && mv tmp.idr NCurses.idr && \ | |
make && make install && \ | |
cd ../.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment