help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Structures or objects in make


From: Robert Mecklenburg
Subject: Re: Structures or objects in make
Date: Thu, 20 Nov 2003 10:34:09 -0700

Since there was so little documentation I should have included output from a
sample run.  Here it is:

cd c:/home/mecklen/book/examples/ch04-defstruct/
make
# foo1   = foo-0
# foo1.a = 4
# foo1.b = hi
# foo1   = { 4 hi }
# foo1   = {  { foo-0-a '4' } { foo-0-b 'hi' } }
#
# foo2   = foo-1
# foo2.a = 1
# foo2.b = there
# foo2   = { 1 there }
# foo2   = {  { foo-1-a '1' } { foo-1-b 'there' } }
#
# file1      = file-2
# file1.path = /c/home/mecklen/.emacs
# file1.type = lisp
# file1      = { /c/home/mecklen/.emacs lisp }
# file1      = {  { file-2-path '/c/home/mecklen/.emacs' } { file-2-type
'lisp' } }
#
#  foo-0 foo-1 file-2
#  foo file
# { { a 1 } { b hi } }
# { { path } { type } }
# { foo-def-slotnames ' a b' foo-def-a-default '1' foo-def-b-default 'hi' }
# { file-def-slotnames ' path type' file-def-path-default ''
file-def-type-default '' }

Compilation finished at Thu Nov 20 10:31:36


Also note that the comments after the "x:" target should have a single
leading tab.  For some reason, the tabs in mail messages seem to be deleted
by the news software (a real pain on a make mailing list).

Cheers,
Robert





reply via email to

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