This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Makefile dependancies on *~
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] Makefile dependancies on *~
- From: andrew dot lunn at ascom dot ch (Andrew Lunn)
- Date: Mon, 4 Sep 2000 10:18:07 +0200 (MET DST)
Hi folks
While playing with eCos to add some new functionality i've been
editing the include files in the repository. This has generated a
number of emacs *~ files. Some step in the configuration process has
put depentancies on these *~ files into my makefiles...
headers: mlt_headers $(PREFIX)/include/cyg/support/asserthandler.h~ $(PREFIX)/include/cyg/support/asserthandler.h
$(PREFIX)/include/cyg/support/asserthandler.h~: $(REPOSITORY)/$(PACKAGE)/include/asserthandler.h~
@mkdir -p $(dir $@)
@cp $< $@
@chmod u+w $@
Now i've cleaned out all the *~ files make no longer works. Would it
be possible to add a filter to this process so that it throws out file
like *~, *.bak, *.orig, *.rej, etc
Thanks
Andrew