From 73a84e4f78136fb5358e599c6d18221e2dc37577 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Mon, 20 Dec 1999 10:37:55 +0000 Subject: [PATCH] Make sure curses.h is generated when making build-tools make_keys and make_hash depend on it. --- lib/libncurses/Makefile | 4 ++-- lib/ncurses/ncurses/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 31ea17c8014..73126291694 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -306,10 +306,10 @@ term.h: MKterm.h.awk edit_cfg.sh Caps # Build tools build-tools: make_hash make_keys -make_keys: make_keys.c names.c +make_keys: make_keys.c names.c curses.h ${CC} -o $@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c -make_hash: comp_hash.c hashsize.h +make_hash: comp_hash.c hashsize.h curses.h ${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \ ${NCURSES}/ncurses/tinfo/comp_hash.c diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 31ea17c8014..73126291694 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -306,10 +306,10 @@ term.h: MKterm.h.awk edit_cfg.sh Caps # Build tools build-tools: make_hash make_keys -make_keys: make_keys.c names.c +make_keys: make_keys.c names.c curses.h ${CC} -o $@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c -make_hash: comp_hash.c hashsize.h +make_hash: comp_hash.c hashsize.h curses.h ${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \ ${NCURSES}/ncurses/tinfo/comp_hash.c