문제

I am trying to build a GNUStep program on OpenBSD. I installed packages gnustep-base and gnustep-make.

my 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/share/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.

도움이 되었습니까?

해결책

Try make -f GNUmakefile. If this command fails, install gmake and try gmake -f GNUmakefile.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top