[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buildobj.lst and Windows builds - a tiny bit of help needed?
From: |
Ken Raeburn |
Subject: |
Re: buildobj.lst and Windows builds - a tiny bit of help needed? |
Date: |
Mon, 24 Aug 2009 00:16:43 -0400 |
On Aug 23, 2009, at 23:19, Eli Zaretskii wrote:
Not with echo and not with other commands that are built into CMD.
Windows programs other than the shell do remove quotes from their
arguments, thus emulating some of the Unixy shell semantics, but CMD
does not.
Ah, that's the source of some of my confusion. Thanks.
Just stick '"'. You don't need these variables when the shells are
separated in the first place.
Good point. I think I'm starting to understand. :-)
Though DQUOTE in SH mode seems to depend on NEW_CYGWIN, so I'll keep
that...
Then, I think this should do it... does it look right to you?
$(SRC)/buildobj.h: make-buildobj-$(SHELLTYPE)
make-buildobj-CMD: Makefile
echo #define BUILDOBJ "\ > $(SRC)/buildobj.h
echo $(OBJ0) \ >> $(SRC)/buildobj.h
echo $(OBJ1) \ >> $(SRC)/buildobj.h
echo $(WIN32OBJ) \ >> $(SRC)/buildobj.h
echo $(FONTOBJ) \ >> $(SRC)/buildobj.h
echo " >> $(SRC)/buildobj.h
make-buildobj-SH: Makefile
echo '#define BUILDOBJ $(DQUOTE)\\' > $(SRC)/buildobj.h
echo $(OBJ0) '\\' >> $(SRC)/buildobj.h
echo $(OBJ1) '\\' >> $(SRC)/buildobj.h
echo $(WIN32OBJ) '\\' >> $(SRC)/buildobj.h
echo $(FONTOBJ) '\\' >> $(SRC)/buildobj.h
echo '$(DQUOTE)' >> $(SRC)/buildobj.h
Ken
- buildobj.lst and Windows builds - a tiny bit of help needed?, Ken Raeburn, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Jason Rumney, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Ken Raeburn, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Jason Rumney, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Eli Zaretskii, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Ken Raeburn, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Eli Zaretskii, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Ken Raeburn, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Eli Zaretskii, 2009/08/23
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?,
Ken Raeburn <=
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Eli Zaretskii, 2009/08/24
- Re: buildobj.lst and Windows builds - a tiny bit of help needed?, Ken Raeburn, 2009/08/26