[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple targets with one command
From: |
Paul D. Smith |
Subject: |
Re: Multiple targets with one command |
Date: |
Sat, 22 Nov 2003 09:51:21 -0500 |
%% "Paul D. Smith" <address@hidden> writes:
pds> The way things like this are typically done is:
pds> target1 target2 target3: .pseudo_target
pds> .pseudo_target: source1 source2 source3
pds> run-the-command
pds> @touch .pseudo_target
Bleah. The last line should be "@touch $@", of course :).
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist