This is the mail archive of the cygwin@sources.redhat.com 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]

weirdness in winsup/Makefile.common


So I spent an annoying amount of time in a wild goose chase
because of this piece of code in Makefile.common:
	%.o: %.cc
	ifdef VERBOSE
		$(COMPILE_CXX) -o $(@D)/$(*F)$o $<
	else
		@echo $(CC) $c $(CXXFLAGS) ... $(*F).cc
		@$(COMPILE_CXX) -o $(@D)/$(*F)$o $<
	endif

cygwin wasn't building on my machine for an odd reason, so I
cut+paste the compile command that was in the make output,
and it didn't work, because, among other things, '...' isn't
a file name.

it took me way too long to figure out where the '...' was
coming from.  but I'm wondering, why do this at all?  it's
not like the elision simplifies the output much (CXXFLAGS is
several thousand chars long), and it introduces an extra
step when you're trying to isolate a build problem.

can this weirdness be deleted, please?
--

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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