URL:
<http://savannah.gnu.org/bugs/?23770>
Summary: including GNUmakefile.preamble not done?
Project: GNUstep
Submitted by: fridom
Submitted on: Samstag 05.07.2008 um 06:04
Category: Makefiles
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I have the following GNUmakefile:
#
# GNUmakefile - Generated by ProjectCenter
#
include $(GNUSTEP_MAKEFILES)/common.make
#
# Tool
#
VERSION = 0.1
PACKAGE_NAME = ArrayCreate
TOOL_NAME = ArrayCreate
test_TOOL_ICON =
#
# Resource files
#
ArrayCreate_RESOURCE_FILES = \
Resources/Version \
#
# Other sources
#
ArrayCreate_OBJC_FILES += \
array_create.m
#
# Makefiles
#
include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
with the following GNUmakefile.preample
#
# GNUmakefile.preamble - Generated by ProjectCenter
#
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS +=
# Additional flags to pass to Objective C compiler
ADDITIONAL_OBJCFLAGS +=
# Additional flags to pass to C compiler
ADDITIONAL_CFLAGS += -ggdb -std=c99
# Additional flags to pass to the linker
ADDITIONAL_LDFLAGS +=
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS +=
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS +=
# Additional TOOL libraries to link
ADDITIONAL_TOOL_LIBS +=
well now see this out make messages=yes
This is gnustep-make 2.0.6. Type 'make print-gnustep-make-help' for help.
Making all for tool ArrayCreate...
cd .; \
/usr/local/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj
gcc array_create.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -g -Wall -DDEBUG
-fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -g
-fno-strict-aliasing -fgnu-runtime -fconstant-string-class=NSConstantString
-I. -I/home/frido/GNUstep/Library/Headers
-I/usr/local/GNUstep/Local/Library/Headers
-I/usr/local/GNUstep/System/Library/Headers \
-o obj/array_create.o
array_create.m: In Funktion »main«:
array_create.m:11: Warnung: Variable »copy_of_arr« wird nicht verwendet
array_create.m:5: Warnung: Variable »i« wird nicht verwendet
gcc -rdynamic -fgnu-runtime -o obj/ArrayCreate \
./obj/array_create.o \
-L/home/frido/GNUstep/Library/Libraries
-L/usr/local/GNUstep/Local/Library/Libraries
-L/usr/local/GNUstep/System/Library/Libraries -lgnustep-base -lpthread
-lobjc -lm
So why isn't the GNUmakefile.preamble used?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23770>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep