On Mon, Jan 21, 2013 at 11:30:50PM +0800, Salil Wadnerkar wrote:
> Hi,
>
> I am trying to build a GNUStep program on OpenBSD. I installed packages
> gnustep-base, gnustep-make
>
> main.m
>
> #import <Foundation/Foundation.h>
>
> int main(void)
> {
>
> NSLog(@"Hello World!");
> return 0;
> }
>
>
> GNUmakefile
> include $(GNUSTEP_MAKEFILES)/common.make
> TOOL_NAME = main
> main_OBJC_FILES = main.m
> include $(GNUSTEP_MAKEFILES)/tool.make
>
> Then, I initialize the GNUstep environment using
> . /usr/local/GNUstep/Makefiles/GNUstep.sh
>
> And then I run:
> make
>
> This does not recognize the GNUmakefile.
>
> Does anybody know how I can build a GNUstep program on OpenBSD?
> On my Arch Linux installation, similar procedure works fine.
>
> Thanks
> Salil
Try make -f GNUmakefile. If this command fails, install gmake and try
gmake -f GNUmakefile.
Cheers.
--
Juan Francisco Cantero Hurtado http://juanfra.info