Cat with colors
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.

Makefile 455B

1234567891011121314151617181920212223242526272829
  1. PREFIX ?= /usr/local
  2. INSTALL ?= install
  3. INSTALL_PROGRAM ?= $(INSTALL)
  4. ifneq "$(DESTDIR)" ""
  5. PREFIX = $(DESTDIR)
  6. endif
  7. all: rccat
  8. rccat:
  9. $(CC) -o rccat rccat.c
  10. android:
  11. $(CC) -o rccat rccat.c
  12. termux-elf-cleaner rccat
  13. run:
  14. ./rccat
  15. clean:
  16. $(RM) rccat
  17. install: rccat
  18. #$(PRE_INSTALL)
  19. $(INSTALL_PROGRAM) -d $(PREFIX)/bin
  20. #$(NORMAL_INSTALL)
  21. $(INSTALL_PROGRAM) -m755 rccat $(PREFIX)/bin
  22. uninstall:
  23. #$(NORMAL_UNINSTALL)
  24. $(RM) $(PREFIX)/bin/rccat