You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
657 B

  1. diff --git a/Makefile b/Makefile
  2. index 3bf5929..e065577 100644
  3. --- a/Makefile
  4. +++ b/Makefile
  5. @@ -32,7 +32,7 @@ VERS = $(shell ./atop -V 2>/dev/null| sed -e 's/^[^ ]* //' -e 's/ .*//')
  6. all: atop atopsar atopacctd atopconvert
  7. atop: atop.o $(ALLMODS) Makefile
  8. - $(CC) -c version.c
  9. + $(CC) $(CFLAGS) -c version.c
  10. $(CC) atop.o $(ALLMODS) -o atop -lncurses -lz -lm -lrt $(LDFLAGS)
  11. atopsar: atop
  12. @@ -45,7 +45,7 @@ atopconvert: atopconvert.o
  13. $(CC) atopconvert.o -o atopconvert -lz $(LDFLAGS)
  14. netlink.o: netlink.c
  15. - $(CC) -I. -Wall -c netlink.c
  16. + $(CC) $(CFLAGS) -I. -Wall -c netlink.c
  17. clean:
  18. rm -f *.o atop atopacctd atopconvert