discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ctool_OBJC_FILES


From: Nicola Pero
Subject: Re: ctool_OBJC_FILES
Date: Mon, 19 May 2003 10:00:48 +0100 (BST)

> The ctool project types do not support OBJC files. This case, works great:
> 
> CLIBRARY_NAME = Something
> Something_OBJC_FILES = SourceFile.m
> Something_LIBRARIES_DEPEND_UPON += -lobjc
> 
> But, using CTOOL_NAME instead (and including ctool.make or clibrary.make of 
> course) does not recognize them as sources.
> 
> And so you know, this is my way of creating *standalone* ObjC projects using 
> gnustep-make. (ie. without -base)

If you want to create standalone (ie, without -base) ObjC tools, objc.make
is your friend :-)  You can try

include $(GNUSTEP_MAKEFILES)/common.make

OBJC_PROGRAM_NAME = Nicola
Nicola_OBJC_FILES = main.m

include $(GNUSTEP_MAKEFILES)/objc.make

ctool.make is for C tools, so it makes somewhat sense that it does not
support OBJC files.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]