+clean :: mostlyclean
+ -sh -c "if test -n '$x' ; then $(MAKE) clean x=''; fi"
+ -rm -f $(DEPS_TACK)
+ -rm -f $(PROGS)
+ -rm -rf .libs
+
+distclean :: clean
+ -rm -f ncurses_cfg.h
+ -rm -f config.* *.log *.out
+ -rm -f Makefile
+
+realclean :: distclean
+
+tack.tar: Makefile.in modules *.[ch] tack.1 HISTORY COPYING
+ tar -cvf tack.tar Makefile.in modules *.[ch] tack.1 HISTORY COPYING
+
+# These rules are used to allow "make -n" to work on a clean directory-tree
+@NCURSES_TREE@../include/hashsize.h \
+@NCURSES_TREE@../include/parametrized.h \
+@NCURSES_TREE@../include/term.h :
+@NCURSES_TREE@ cd ../include; $(MAKE) $(CF_MFLAGS)
+
+@NCURSES_TREE@$(DEPS_CURSES) :
+@NCURSES_TREE@ cd ../ncurses; $(MAKE) $(CF_MFLAGS)
+
+lint:
+ $(LINT) $(LINT_OPTS) $(CPPFLAGS) $(srcdir)/*.c $(LINT_LIBS)