Index: [thread] [date] [subject] [author]
  From: Philip K. Warren <pkw@duke.edu>
  To  : 
  Date: Thu, 11 Mar 1999 21:43:48 -0500

Re: Large makefile and scripts

I stole this from a free software Makefile, but check and see if it
works for you.  Remember to put the library directories first like I
did:

SUBDIRS		= libscandir libgetopt goofi sools sync testing

all:     all_recursive

all_recursive:
	@for subdir in $(SUBDIRS); do \
	  echo "Making all in $$subdir"; \
	  (cd $$subdir && $(MAKE) $$target); \
	done

clean:	clean_recursive

clean_recursive:
	@for subdir in $(SUBDIRS); do \
	  echo "Making clean in $$subdir"; \
	  (cd $$subdir && $(MAKE) clean); \
	done


Index: [thread] [date] [subject] [author]