Changeset 7779


Ignore:
Timestamp:
02/08/19 23:18:28 (2 months ago)
Author:
baker
Message:

use for /f "delims=" on Windows (very unintuitive) like on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r7778 r7779  
    185185                pushd %x & \ 
    186186                        echo ---------- & \ 
    187                         echo Making in: %CD% & \ 
     187                        for /f "delims=" %d in ( 'cd' ) do @echo Making $@ in: %d & \ 
    188188                        $(MAKE) /$(MAKEFLAGS) nt & \ 
    189189                popd \ 
     
    192192clean_nt: PHONY 
    193193        -@pushd diagnostic_tools\buildinfo & \ 
    194                 echo Cleaning in: %CD% & \ 
     194                for /f "delims=" %d in ( 'cd' ) do @echo Cleaning in: %d & \ 
    195195                $(MAKE) /$(MAKEFLAGS) /f makefile.nt clean & \ 
    196196        popd 
    197197        -@pushd libsrc & \ 
    198                 echo Cleaning in: %CD% & \ 
     198                for /f "delims=" %d in ( 'cd' ) do @echo Cleaning in: %d & \ 
    199199                $(MAKE) /$(MAKEFLAGS) /f makefile.nt clean & \ 
    200200        popd 
     
    202202        do @( \ 
    203203                pushd %x & \ 
    204                         echo Cleaning in:%CD% & \ 
     204                        for /f "delims=" %d in ( 'cd' ) do @echo Cleaning in: %d & \ 
    205205                        $(MAKE) /$(MAKEFLAGS) clean_nt & \ 
    206206                popd \ 
     
    209209clean_bin_nt: PHONY 
    210210        -@pushd diagnostic_tools\buildinfo & \ 
    211                 echo Cleaning binaries in: %CD% & \ 
     211                for /f "delims=" %d in ( 'cd' ) do @echo Cleaning binaries in: %d & \ 
    212212                $(MAKE) /$(MAKEFLAGS) /f makefile.nt clean_bin & \ 
    213213        popd 
     
    215215        do @( \ 
    216216                pushd %x & \ 
    217                         echo Cleaning binaries in: %CD% & \ 
     217                        for /f "delims=" %d in ( 'cd' ) do @echo Cleaning binaries in: %d & \ 
    218218                        $(MAKE) /$(MAKEFLAGS) clean_bin_nt & \ 
    219219                popd \ 
Note: See TracChangeset for help on using the changeset viewer.