This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin make thinks a statement can be neither true nor false....


  Haven't got any time to investigate further tonight, and I'm not sure if
this is a real bug or some misunderstanding of mine, but it doesn't appear
to be how the documentation ("info make") suggests things should work.
Here's a cut-down testcase:

-------------snip-------------
dk@mace /test/mk-test/test2> ls -lart
total 1
drwxr-xr-x+   4 dk       Domain U        0 Apr 19 18:47 ..
-rw-r--r--    1 dk       Domain U      402 Apr 19 18:49 makefile
drwxr-xr-x+   2 dk       Domain U        0 Apr 19 18:49 .
dk@mace /test/mk-test/test2> cat makefile

ifdef ANYTHING
$(error: 1 ANYTHING is defined )
endif
ifndef ANYTHING
$(error: 1 ANYTHING is ***NOT*** defined )
endif

$(error: PLEASE give me an error.  What do I have to do, for god's sake?
Beg? )

$(warning: How about an error, or is even that asking too much of your
mighty in
tellect? )

.PHONY: all force
all: force

force:
	echo Does make not use aristotelian two-valued logic then? > force

dk@mace /test/mk-test/test2>
dk@mace /test/mk-test/test2> make
echo Does make not use aristotelian two-valued logic then? > force
dk@mace /test/mk-test/test2>
-------------snip-------------

  Now, shouldn't at least one of those error messages be displayed?  Or have
I failed to understand that they don't get parsed because they're not
required to make sense of the targets and dependencies?



    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]