diff options
author | Roland McGrath <roland@redhat.com> | 1993-08-01 20:17:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-08-01 20:17:31 +0000 |
commit | 1d9b68aef5661de5dea3a90de98008dd58928859 (patch) | |
tree | af634498ee085ac90edc0b5f932e982425fdcc50 | |
parent | e813da324dee0f2fb3944530a893970e743d60c4 (diff) | |
download | gunmake-1d9b68aef5661de5dea3a90de98008dd58928859.tar.gz |
Formerly compatMakefile.~81~
-rw-r--r-- | compatMakefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/compatMakefile b/compatMakefile index 374501d..b82db34 100644 --- a/compatMakefile +++ b/compatMakefile @@ -166,11 +166,11 @@ make: $(objs) SHELL = /bin/sh MAKE = make -glob/libglob.a: force +glob/libglob.a: FORCE config.h cd glob; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \ CPPFLAGS='$(CPPFLAGS) -DHAVE_CONFIG_H' \ libglob.a -force: +FORCE: tagsrcs = $(srcs) $(srcdir)/remote-*.c TAGS: $(tagsrcs) @@ -221,6 +221,18 @@ $(infodir)/make.info: make.info $(mandir)/$(instname).$(manext): make.man $(INSTALL_DATA) $(srcdir)/make.man $@ + +loadavg: getloadavg.c config.h + $(CC) $(defines) -DTEST -I. -I$(srcdir) $(CFLAGS) $(LDFLAGS) \ + $(srcdir)/getloadavg.c -o $@ +check-loadavg: loadavg + @echo The system uptime program believes the load average to be: + -uptime + @echo The GNU load average checking code believes: + ./loadavg +check: check-loadavg + + .PHONY: clean realclean distclean mostlyclean clean: glob-clean -rm -f make *.o core |