public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Makefile dependancies on *~
@ 2000-09-04  1:18 Andrew Lunn
  2000-09-04  5:04 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Lunn @ 2000-09-04  1:18 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Makefile dependancies on *~
  2000-09-04  1:18 [ECOS] Makefile dependancies on *~ Andrew Lunn
@ 2000-09-04  5:04 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-09-04  5:04 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

Andrew Lunn wrote:
> 
> 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...
> 
[snip]
> 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

I'll act as deputy Bart and say that we know the build system can be
improved in many respects, and we intend to rewrite the makefile generation
part at some point when we have time(!).

Out of interest, as a workaround you can rerun "ecosconfig tree" and it
will get rid of the invalid dependencies.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-04  5:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-04  1:18 [ECOS] Makefile dependancies on *~ Andrew Lunn
2000-09-04  5:04 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).