AtomBuild / atom-build-make

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

Parsing fails with no targets #30

Open clearmisp opened 7 years ago

clearmisp commented 7 years ago

I have atom-build 0.67.0 and atom-build-make 0.13.0 installed in Atom 1.12.7, running on openSUSE Leap 42.2.

If I do "Build: Refresh Targets" followed by "Build: Select Active Target" there are no targets, Atom just reports "GNU Make: default (no target)", even though my Makefile contains 12 targets. If I do "Build: Trigger" make is executed with switch -j1 and without any targets.

noseglid commented 7 years ago

Have you tried to toggle the useMake setting?

clearmisp commented 7 years ago

I'm new to Atom so I'm a bit uncertain where to find things but I located a file config.cson in the ~/.atom directory (I'm on Linux). There's a setting in this file that currently is set to "useMake: true" so I guess I have toggled it. I also enabled the setting "Show notification when targets are refreshed" in atom-builds settings. When I do "Build: Select Active Target" using the command palette I get a message that targets have been refreshed but the target list only shows one target and it's the default one "GNU Make: default (no target). None of my targets from my Makefile are visible.