Is it possible to modify the SGDK makefile so that when an error occurs in a .h/.c file, it outputs the absolute path to it?
I've spent a few hours to find a solution on my end, but barely knowing anything about makefiles, I've never gotten anything to work.
Thanks!
DJCC
Absolute Path In Compiler Errors?
Moderator: Stef
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
I'm not an makefile expert too but i believe you can retrieve the current directory with the
variable so to get the absolute path you could probably do something as concatenating $(CURDIR) and 'output file' ?
Code: Select all
$(CURDIR)