automake
[Top][All Lists]
Advanced

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

How to specify additional dependencies of files


From: Daniel Kraft
Subject: How to specify additional dependencies of files
Date: Mon, 10 Apr 2006 14:48:44 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060308 SeaMonkey/1.0

Hi!

In my automake Makefile I need a way to generate testfiles when the corresponding test program is compiled. I have something like:

check_PROGRAMS = test
test_SOURCES = test.cpp

But I need a file created by make (i.e., a command executed which creates it) when test is compiled. Is there a way to specify this?

test: myfile

Doesn't work, as test has other dependencies as well (generated by automake).

Yours,
Daniel Kraft




reply via email to

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