help-make
[Top][All Lists]
Advanced

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

Dependency problem


From: j.ahlschlaeger
Subject: Dependency problem
Date: Tue, 03 May 2005 15:41:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

My problem is that I have some source files to compile, but there are
two types of files to compile, the one with that command:

$(COMPILECOMMAND1) $< -o $@

and the others with that command:

$(COMPILECOMMAND2) $< -o $@
.
But if I write it so:

$(TYP1_OBJ):$(TYP1_SRC)
        $(COMPILECOMAND1) $< -o $@

$(TYP2_OBJ):$(TYP2_SRC)
        $(COMPILECOMAND2) $< -o $@

,so compile make always all files of one typ, when only one source file
of this type modified.

Could you help me to solf this problem?

Thank you very much.

Regards,
Jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCd3+gamvZDpGQFL8RAr2kAJ0St2yA/dbP15CPGLNoHEcoIOBPgQCfVDZm
5KQHTaRlqITzFclRigV7Hnw=
=g6Dz
-----END PGP SIGNATURE-----





reply via email to

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