AtomBuild / atom-build-make

GNU Make plugin for atom-build
MIT License
13 stars 19 forks source link

`useMake` parsing not targets #37

Open no1xsyzy opened 7 years ago

no1xsyzy commented 7 years ago

The command make -prRn outputs include some 'targets' with a line of "# Not a target:" before, like the following:

# Not a target:
E01.md:
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

which should be filtered out.

Try take a look at these: https://stackoverflow.com/a/26339924/6202760 https://github.com/GArik/bash-completion/blob/master/completions/make

no1xsyzy commented 7 years ago

It suddenly occurs to my mind that: what about add a setting to accept the output of make list or make _list to decide the targets? This will also deal with https://github.com/AtomBuild/atom-build-make/issues/36