To specify my own game logo I added the line:
GAME_ICON := /c/DS_Projects/current/logo.bmp
but I'd much rather use an (for lack of a better term) environment variable for the current directory (where the makefile is). I tried several things, and believed $(CURDIR)/logo.bmp should have worked but did not. It ended up looking in the build folder instead. I also tried defining LOGO := logo and added a folder called logo with the logo.bmp inside it, but that didn't work either. Since the LOGO definition was right next to where the TARGET, SOURCES, etc were defined I figured it would have worked but did not.
Thanks in advance for any assistance.
Simple change to makefile
-
- Site Admin
- Posts: 2003
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Simple change to makefile
Have a look at the latest template in SVN
http://devkitpro.svn.sourceforge.net/vi ... iew=markup
this will search for $(TARGET).bmp or icon.bmp in the main project folder & use it as an icon. We'll be releasing a new libnds & example set fairly soon.
http://devkitpro.svn.sourceforge.net/vi ... iew=markup
this will search for $(TARGET).bmp or icon.bmp in the main project folder & use it as an icon. We'll be releasing a new libnds & example set fairly soon.
Who is online
Users browsing this forum: Google [Bot] and 5 guests