October 25, 2024
Chicago 12, Melborne City, USA
C#

Getting Eclipse to recognise symbols defined in a Makefile


I have a GCC Makefile project in Eclipse with a symbol defined in the Makefile:

GLOBAL_DEFINES += MY_SYMBOL=1

How do I get Eclipse to parse the Makefile so that I don’t get the annoying error in the editor:

Symbol ‘MY_SYMBOL’ could not be resolved

(There’s nothing wrong with the build, by the way, this is just for visualisation).



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video