diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 3c2fd61698d7..5ab9dc18abb0 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -254,6 +254,8 @@ beforeinstall: ${HEADERS} namehdr nameftr codeftr ${NAMESRC} ${CODESRC}: MKnames.awk Caps ${AWK} -f ${NCURSES}/ncurses/tinfo/MKnames.awk ${NCURSES}/include/Caps +.ORDER: namehdr ${NAMESRC} ${CODESRC} nameftr codeftr names.c codes.c + names.c: namehdr ${NAMESRC} nameftr cat namehdr ${NAMESRC} nameftr > $@ diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 3c2fd61698d7..5ab9dc18abb0 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -254,6 +254,8 @@ beforeinstall: ${HEADERS} namehdr nameftr codeftr ${NAMESRC} ${CODESRC}: MKnames.awk Caps ${AWK} -f ${NCURSES}/ncurses/tinfo/MKnames.awk ${NCURSES}/include/Caps +.ORDER: namehdr ${NAMESRC} ${CODESRC} nameftr codeftr names.c codes.c + names.c: namehdr ${NAMESRC} nameftr cat namehdr ${NAMESRC} nameftr > $@