This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


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

RE: xc/config/cf/cygwin.rules - ComplexProgramTarget_1


> I do not understand.... what do you mean by PROGRAM2 and PROGRAM3 are not
> defined?

The Makefile looks like this, with extraneous bits removed:
PROGRAM1 = xclipboard.exe
all:: $(PROGRAM1) $(PROGRAM2) $(PROGRAM3)
{ PROGRAM1 build rules }
install:: xclipboard.exe
PROGRAM2 = xcutsel.exe
{ PROGRAM2 build rules }
install:: xcutsel.exe

Running 'make' will only generate xclipboard.exe.  Try it.  Running 'make
install' will generate xcutsel.exe as well.

I meant that PROGRAM2 is not defined at the point that make reads the 'all'
dependency list, so PROGRAM2 (xcutsel.exe) is not  in the 'all' dependency
list.

Harold


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