[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to output newline at the end of making a target (on Windows)
From: |
Mark Galeck (CW) |
Subject: |
how to output newline at the end of making a target (on Windows) |
Date: |
Sun, 29 Nov 2009 14:30:06 -0800 |
Hello,
SHELL=cmd.exe
foobar:
@echo.
gives me:
C:\tmp>make foobar
process_begin: CreateProcess(NULL, echo., ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [foobar] Error 2
However, I do use "echo." process all the time on Windows, just outputting to a
file - this works perfectly fine:
SHELL=cmd.exe
foobar:
@echo.>foo
and
C:\tmp>make foobar
works fine, foo gets a newline (no errors either in foo or on standard out).
Why is this so??
Mark
- how to output newline at the end of making a target (on Windows),
Mark Galeck (CW) <=