delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/03/11:18:03

Date: Wed, 3 Mar 1999 17:15:33 +0100
From: Baraz Akos 950918 <REBECCA AT TIGRIS DOT KLTE DOT HU>
To: djgpp AT delorie DOT com
Subject: a make problem
Message-ID: <Pine.VMS.3.91-A.990303165859.62709A-100000@tigris.klte.hu>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

hi

I've got a problem with makefile making.
I'd like to compile a lot of target with different dependecies.

Got variables like this:

ONE_C = one1.cpp one2.cpp 
ONE_DEP = x.h y.h

TWO_C = two1.cpp two2.cpp
TWO_DEP = z.h x.h w.h

and I want to compile them by ONE rule, but $(%) doesn't work in place of 
the deps.

by.
Rebecca

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019