delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | nospam AT none DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: makefile question |
Date: | Thu, 13 Nov 2003 19:13:32 +0000 (UTC) |
Organization: | University of California, Berkeley |
Lines: | 28 |
Sender: | Raymond Chi <chiry AT soda DOT csua DOT berkeley DOT edu> |
Message-ID: | <bp0l4s$200n$1@agate.berkeley.edu> |
References: | <20031112061038 DOT 12690 DOT qmail AT web41509 DOT mail DOT yahoo DOT com> <bou0vg$15os$1 AT agate DOT berkeley DOT edu> <uhe18dcfe DOT fsf AT elta DOT co DOT il> |
NNTP-Posting-Host: | soda.csua.berkeley.edu |
X-Trace: | agate.berkeley.edu 1068750812 65559 128.32.112.233 (13 Nov 2003 19:13:32 GMT) |
X-Complaints-To: | usenet AT agate DOT berkeley DOT edu |
NNTP-Posting-Date: | Thu, 13 Nov 2003 19:13:32 +0000 (UTC) |
Cc: | eliz AT elta DOT co DOT il |
User-Agent: | tin/1.5.12-20020427 ("Sugar") (UNIX) (FreeBSD/4.7-STABLE (i386)) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Eli Zaretskii <eliz AT elta DOT co DOT il> wrote: >> From: nospam AT none DOT com >> Newsgroups: comp.os.msdos.djgpp >> Date: Wed, 12 Nov 2003 19:17:04 +0000 (UTC) >> >> I want to specify a rule >> >> clean: >> for each directory in $(SUBDIRS) >> run $(MAKE) -C dir clean > Didn't you see my suggestion? It's supposed to do precisely that. Ops. It worked beautifully!! actually all I needed was clean: $(MAKE) TARGET=clean it makes perfect sense, it calls itself again with a specific target! thanks!! Raymond
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |