From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew.lunn@ascom.ch (Andrew Lunn) To: ecos-discuss@sourceware.cygnus.com Subject: [ECOS] Makefile dependancies on *~ Date: Mon, 04 Sep 2000 01:18:00 -0000 Message-id: <200009040818.KAA00930@biferten.ma.tech.ascom.ch> X-SW-Source: 2000-09/msg00014.html 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