Makefile 256 B

123456789101112131415
  1. all: f.c
  2. gcc -g -Wall -o f f.c
  3. clean:
  4. $(RM) f
  5. install:
  6. mkdir /etc/f
  7. cp f /bin
  8. cp run.sh /bin
  9. cp config.sh /etc/f
  10. cp build.sh /etc/f
  11. chmod +x /etc/f/config.sh
  12. chmod +x /etc/f/build.sh
  13. chmod +x /bin/f
  14. chmod +x /bin/run.sh
  15. .ONESHELL: