There IS a problem with CXXFLAGS

Andreas Schlapbach schlpbch at bluewin.ch
Sun Aug 8 13:51:04 BST 1999


There's really a problem with the CXXFLAGS. This is from the Makefile
generated 
from kdevelop

####### kdevelop will overwrite this part!!! (end)############
..

DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS = 
LDFLAGS =  
LIBS = 
parser_OBJECTS =  Tokenizer.o Production.o ParserTable.o Parser.o \
GrammarException.o Grammar.o main.o
parser_DEPENDENCIES = 
parser_LDFLAGS = 
CXXFLAGS = -O0 -g3 -Wall		<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
$(AM_CXXFLAGS) joptionsdlg.cpp - the setup DLG for a project  
                     $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
DIST_COMMON =  Makefile.am Makefile.in
..

This leads to the following error in StdOut:

CXXFLAGS=  -O2 -g3 -Wall   : Command not found.
*** Error ***

If you delete the white space in the Makefile it works fine again. This
error needs fixing.

Andrew



More information about the KDevelop mailing list