Thread: Help a newbie
View Single Post
Old December 31, 2009, 23:40   #5
konijn_
Hellband maintainer
 
konijn_'s Avatar
 
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 43
Posts: 367
Donated: $120
konijn_ is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
Compile with
$ make -f Makefile.osx OPT=-g
$ cd ..
$ gdb Hellband.app
OR
$gdb Hellband.app/Contents/MacOS/hellband
(This is approximate--actual path should be obvious.)

You don't want the executable to be named Hellband, you want the package to be named Hellband.app

Set the NAME macro in Makefile.osx to
NAME = Hellband
rather than
NAME = Angband
Note that the variable definitions in Makefile.osx are all important -- they are used to replace the appropriate values in the plist file.

EDIT:
If you don't like command-line arguments to make, or editing Makefile.osx, you can create override values in
src/config

I don't recommend this for debug flags and the like, because it's easy to forget when you want to make a distribution.
Thanks!!

T.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! *
konijn_ is offline   Reply With Quote