emacs-devel
[Top][All Lists]
Advanced

[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: Sun, 23 Aug 2009 06:48:58 -0400

On Aug 23, 2009, at 04:30, Jason Rumney wrote:
Ken Raeburn wrote:
I think it should be pretty straightforward, as you can see from the changes in the attached diff, but it does involve make commands that have to write double-quotes and backslashes to files (and thus get the quoting right), and an object file list that is supposedly too long to process on one command line...
To deal with quoting correctly for all variants of make/shell there are macros ARGQUOTE and DQUOTE.

Ah... I saw them, but didn't see very good examples until I looked more closely at some of the other (lisp, leim) makefile.w32-in files. So it looks like I should write the rules something like this?

echo $(ARGQUOTE)#define BUILDOBJ $(DQUOTE)\$(ARGQUOTE) > $(SRC)/ buildobj.h
        echo $(OBJ0)     $(ARGQUOTE)\$(ARGQUOTE) >> $(SRC)/buildobj.h

Is one backslash what I need here, if I want to get one written to the file at the end of the line? Or does some backslash quote processing happen, and I need two?

Thanks!

Ken




reply via email to

[Prev in Thread] Current Thread [Next in Thread]