Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- makefile has a very stupid relation with tabs , all actions of every rule are identified by tabs.
- and No 4 spaces dont make a tab , only a tab makes a tab...
- to check i use the command
- ```
- cat -e -t -v makefile_name
- ```
- it shows the presence of tabs with ^I and line endings with $ both are vital to ensure that
- dependencies end properly and tabs mark the action for the rules so that they are easily identifiable to the make utility.
- ```
- foo@e:~$ cat -e -t -v foo.txt
- hello$
- from$
- ^Ithis $
- world$
- sureshp@e1:~$ cat foo.txt
- hello
- from
- this
- world
- foo@e:~$
- ```
Add Comment
Please, Sign In to add comment