Re: [AD] MacOSX build broken? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2007-12-13, Ian Potter <iantpotter@xxxxxxxxxx> wrote:
> Hi,
>
> On a related note to the OS X build, I recently installed Allegro under 10.5
> (Leopard). It seems they've moved where XCode keeps its project templates,
> so the part of the makefile to install those needed to be updated. This
> patch solved that issue for me:
>
> --- makefile.osx
> +++ (clipboard)
> @@ -39,6 +39,9 @@
> ifeq ($(wildcard $(TEMPLATE_DIR)),)
> TEMPLATE_DIR = /Library/Application\ Support/Apple/Developer\
> Tools/Project\ Templates/Application
> endif
> +ifeq ($(wildcard $(TEMPLATE_DIR)),)
> + TEMPLATE_DIR = /Developer/Library/Xcode/Project\ Templates/Application
> +endif
> TEMPLATE_NAME = Allegro\ Application
> TEMPLATE = $(TEMPLATE_DIR)/$(TEMPLATE_NAME)
Am I wrong, or does that try to set TEMPLATE_DIR to two conflicting values?
Peter