Guest User

Untitled

a guest
Nov 18th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. makefile has a very stupid relation with tabs , all actions of every rule are identified by tabs.
  2. and No 4 spaces dont make a tab , only a tab makes a tab...
  3.  
  4. to check i use the command
  5. ```
  6. cat -e -t -v makefile_name
  7. ```
  8.  
  9. it shows the presence of tabs with ^I and line endings with $ both are vital to ensure that
  10. dependencies end properly and tabs mark the action for the rules so that they are easily identifiable to the make utility.
  11.  
  12. ```
  13. foo@e:~$ cat -e -t -v foo.txt
  14. hello$
  15. from$
  16. ^Ithis $
  17. world$
  18. sureshp@e1:~$ cat foo.txt
  19. hello
  20. from
  21. this
  22. world
  23. foo@e:~$
  24. ```
Add Comment
Please, Sign In to add comment