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]
Other format: [Raw text]

basic imake problem on cygwin


There seems to be a disconnect in the generated Makefile on cygwin. I searched the mailing list archives, but wasn't able to find anything relevant.

With the following Imakefile, my AllTarget is "hello", as the Imakefile is supposed to be portable, and not know about cygwin's .exe extension for the compiled binary.

SRCS = hello.c
AllTarget(hello)
NormalProgramTarget(hello,hello.o,NullParameter,NullParameter,NullParameter)
DependTarget()

The relevant portion of the generated Makefile is as follows. There is no connection between the top target (all), and hello.exe.

Thanks for your help,
Steve
P.S. Please respond directly to me at s t e v e a t k e l e m d o t n e t.

# start of Imakefile

SRCS = hello.c

all:: hello

hello.exe: hello.o
   $(RM) $@
   $(CCLINK) -o $@ $(LDOPTIONS) hello.o  $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

cleandir::
   $(RM) hello.exe

depend:: Makefile.dep

Makefile.dep::
$(RM) $@
$(DEPEND) -f- $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS) > $@




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