diff --git a/sources/fisher.c b/sources/fisher.c index 8b87b8e..80b4fcf 100644 --- a/sources/fisher.c +++ b/sources/fisher.c @@ -304,7 +304,7 @@ void sigint_handler(int x){ puts("Quit."); exit(x); } -int main(void){ +void main(void){ signal(SIGINT,sigint_handler); initscr(); noecho(); @@ -394,7 +394,7 @@ int main(void){ if(!hooknum) break; if(input!=ERR){ - usleep(100000); + sleep(1); flushinp(); } } diff --git a/sources/mkfile b/sources/mkfile index 641aa2d..783b377 100644 --- a/sources/mkfile +++ b/sources/mkfile @@ -1,35 +1,32 @@ APE=/sys/src/ape <$APE/config +#comment out all that depend on variable size arrays TARG=\ battleship \ checkers \ - fifteen \ +# fifteen \ fisher \ jewels \ - memoblocks \ - miketron \ - mines \ - muncher \ - pipes \ - rabbithole \ +# memoblocks \ +# miketron \ +# mines \ +# muncher \ +# pipes \ +# rabbithole \ redsquare \ reversi \ - sos \ - sudoku +# sos \ +# sudoku -HFILES=\ - /sys/include/ape/curses.h\ - /sys/include/ape/panel.h\ +BIN=/$objtype/bin/games UPDATE=\ mkfile\ - $HFILES\ ${OFILES:%.$O=%.c}\ - /$objtype/ape/lib/libcurses.a