automake
[Top][All Lists]
Advanced

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

Re: Version question and "No rule to make target" question


From: Benoit SIGOURE
Subject: Re: Version question and "No rule to make target" question
Date: Mon, 22 Oct 2007 15:18:19 +0200

On Oct 22, 2007, at 2:57 PM, Hongliang Wang wrote:

address@hidden> cd gen && make -d
[...]
        Must remake target `zizutil.c'.
make: *** No rule to make target `zizutil.c', needed by `zizutil.o'. Stop.

address@hidden> ls
Makefile Makefile.in config.h.in zizmsg.h zizutils.o Makefile.am Makefile.winmsc.bak config.h.in~ zizparse.h zizzy.c Makefile.gcc.bak aclocal.m4 configure.ac zizread.h zizzy.h Makefile.hvr_gcc autom4te.cache/ libzizzy.a zizutils.c zizzy.o
                                                                ^^^^
Makefile.hvr_winmsc  autoscan.log         zizconf.h     zizutils.h
address@hidden> cat Makefile.am
# gen/Makefile.am

noinst_LIBRARIES = libzizzy.a
libzizzy_a_SOURCES = zizutil.c zizzy.c
                             ^^^

Looks like a typo. You wrote `zizutil.c' whereas it seems it should have been `zizutils.c'. By the way, you must also add the headers in _SOURCES so that they get properly distributed.

Cheers,

--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory


Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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