This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Makefile dependancies on *~


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]