How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS
Partha None <[email protected]>
| Newsgroups | gmane.comp.gnu.make.windows,gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Following is my MAKEFILE "TestRunGNUMakeForBoot" contents [1 line command under TARGET ALL] within my Project Root Directory:
===============================================================
ALL:
cd DBC_Boot_Build && $(MAKE) BYPASS_ANCGEN=$(BYPASS_ANCGEN) MAKEBENCH=$(MAKEBENCH) COMPILE_OPTIONS_FROM_MAKE='$(COMPILE_OPTIONS_FROM_MAKE)' -f TestDBCGNUBootMake $(MAKEFLAGS)
=====================================================================
Following is my SUB-MAKEFILE "TestDBCGNUMake" contents within my sub-directory called "DBC_Boot_Build" under Project Root Directory:
===================================================================
ALL: HELP
@echo ---------- ALL Target Completed ----------
.PHONY:HELP
HELP:
@echo HELP Message Displayed
@echo COMPILE_OPTIONS_FROM_MAKE=$(COMPILE_OPTIONS_FROM_MAKE)
@echo COMPILE_OPTIONS_FROM_MAKE1=$(COMPILE_OPTIONS_FROM_MAKE1)
========================================================================
Following is my command line invocation for the above mentioned MAKEFILE from Windows DOS cmd.exe SHELL [1 line] applied from Project Root Directory:
C:\Partha\GNU\MAKE\DJGPP_BUILD\make-3.82\WinRel\gnumake -f TestRunGNUMakeForBoot BYPASS_ANCGEN=TRUE MAKEBENCH=FALSE C_DISABLE_CCP=TRUE COMPILE_OPTIONS_FROM_MAKE="--define=COMPILE_ENABLE_EXTENDED_NEGATIVE_RESPONSE=FALSE" COMPILE_OPTIONS_FROM_MAKE+="--define=DEVELOPMENT_BOOT_CCP=TRUE" SHELL="C:\WINNT\System32\cmd.exe" PACKAGE_NAME=junk BUILD_TYPE=ISO_CAN_BUILD
I get the following error under DOS Box:
C:/Partha/GNU/MAKE/DJGPP_BUILD/make-3.82/WinRel/gnumake: unrecognized option `--define=DEVELOPMENT_BOOT_CCP=TRUE''
C:/Partha/GNU/MAKE/DJGPP_BUILD/make-3.82/WinRel/gnumake: unrecognized option `--define=DEVELOPMENT_BOOT_CCP=TRUE'
Any idea how to solve this puzzle of passing mutiple COMPILER SWITCHES from GNU Make Command Line under WINDOWS DOS cmd.exe SHELL?
Thank you.
Regards
Partha
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32