discuss-gnustep
[Top][All Lists]
Advanced

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

making a library, simpel question


From: Lloyd Dupont
Subject: making a library, simpel question
Date: Wed, 11 May 2005 11:58:51 +1000

I finally had my GNUstep makefile to make a library running. it looks like that:
#=========================================
include $(GNUSTEP_MAKEFILES)/common.make
 
LIBRARY_NAME = OneLib-ObjC
 
ADDITIONAL_OBJCFLAGS += -Wno-import -g -ggdb
ADDITIONAL_LDFLAGS += -lobjc -lgnustep-base
ADDITIONAL_LIB_DIRS += -Llibrary
ADDITIONAL_OBJC_LIBS += -lxml2 -larchive1 -lgnustep-gui
 
OneLib-ObjC_OBJC_FILES = deux.m one.m
 

# Include in the rules for making libraries
include $(GNUSTEP_MAKEFILES)/library.make
#=========================================
 
what kind of puzzles me is why have I to set the -lobjc -lgnustep-base  flag, while
1. I am compiling an objectiveC/GNUstep library with the GNUstep makefile system
2. I don't need to specify them when I compile a tool
?

reply via email to

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