aeolusc
Joined: 14 Oct 2006 Posts: 18
|
Posted: Sun Oct 07, 2007 12:36 am Post subject: problem with C++ compiling caused by build.mak |
|
|
original code:
| Code: | CFLAGS := $(addprefix -I,$(INCDIR)) $(CFLAGS)
CXXFLAGS := $(CFLAGS) $(CXXFLAGS)
ASFLAGS := $(CFLAGS) $(ASFLAGS)
ifeq ($(PSP_FW_VERSION),)
PSP_FW_VERSION=150
endif
CFLAGS += -D_PSP_FW_VERSION=$(PSP_FW_VERSION)
|
as FW definition sets after CFLAGS copied to CXXFLAGS, while running psp-g++ to compile cpp files, the _PSP_FW_VERSION leaves undefined. |
|