From: albert <> Date: Tue, 8 Oct 2002 00:50:21 +0000 (+0000) Subject: top + oldtop X-Git-Tag: v3.3.0~478 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2af08f5c0a5613e6d5d2bc464df08e3db52221d;p=procps-ng top + oldtop --- diff --git a/Makefile.noam b/Makefile.noam index 307592e1..ea694446 100644 --- a/Makefile.noam +++ b/Makefile.noam @@ -133,7 +133,7 @@ build_ps: ; $(MAKE) -C ps -f Makefile.noam install_ps: ps ; $(MAKE) -C ps -f Makefile.noam install # executable dependencies -kill skill snice top w uptime tload free vmstat utmp : $(LIB_TGT) +kill skill snice top w uptime tload free vmstat utmp oldtop : $(LIB_TGT) # static pattern build/link rules: @@ -149,6 +149,9 @@ w uptime tload free vmstat utmp pgrep: % : %.o top: % : %.o $(strip $(CC) $(LDFLAGS) -o $@ $^ $(LIB_TGT) $(LIBTERMCAP) $(EXTRALIBS)) +oldtop: % : %.o + $(strip $(CC) $(LDFLAGS) -o $@ $^ $(LIB_TGT) $(LIBTERMCAP) $(EXTRALIBS)) + watch: % : %.o $(strip $(CC) $(SLDFLAGS) -o $@ $< $(LIBCURSES) $(EXTRALIBS)) @@ -158,6 +161,9 @@ w.o: w.c $(strip $(CC) $(CFLAGS) $(W_SHOWFROM) -c $<) top.o: top.c + $(strip $(CC) $(CFLAGS) -c $<) + +oldtop.o: oldtop.c $(strip $(CC) $(CFLAGS) -fwritable-strings -c $<) skill.o: skill.c