[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUmakefile errors
From: |
A. Arias |
Subject: |
Re: GNUmakefile errors |
Date: |
Mon, 09 Nov 2015 18:27:43 -0600 |
Hi,
El lun, 09-11-2015 a las 18:56 -0500, Craig Bakalian escribió:
> Hi,
>
> Here is my GNUmakefile
>
> include $(GNUSTEP_MAKEFILES)/common.make
>
> TOOL_NAME = LogTest
> LogTest_OBJC_FILES = source.m
>
> include $(GNUSTEP_MAKEFILES)/tool.make
>
> Here is my simple source.m
> #import <Foundation/Foundation.h>
> int
> main (void)
> {
> NSLog (@"Executing");
> return 0;
> }
>
> And here is my errors
>
> craig@craig-desktop ~ $ cd '/home/craig/Desktop/tool'
> craig@craig-desktop ~/Desktop/tool $ make
> GNUmakefile:1: /common.make: No such file or directory
> GNUmakefile:6: /tool.make: No such file or directory
> make: *** No rule to make target `/tool.make'. Stop.
> craig@craig-desktop ~/Desktop/tool $
>
>
> What is up with this. I am an old objective-c programmer from way
> back. However I used xcode. Now I am on linux, so...
> Please help.
>
> Craig Bakalian
>
If you have installed GNUstep with gnustep layout, or any other than the
default, you will need run the GNUstep script before run make, to set up
all the needed variables. Run it with something like:
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
Notice the space after the point.
Germán