Makefile 418 B

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