[Tinyos-devel] Creating a platform specific cleanup rule
Martin Leopold
leopold at diku.dk
Wed Oct 11 14:48:42 PDT 2006
On Mon, 2006-10-09 at 17:52 -0700, David Gay wrote:
> Did you try with a := or an = assignment to CLEAN_EXTRA? (the latter
> shouldn't be load order dependent, I think). The other solution is to
> put extra generated files in BUILDDIR ;-) (that's what I did for
> storage)
I'm using the Keil compiler with Wine and I'm rather clueless to how to
control what it produces and where... I put a CLEAN_EXTRA="*.blah" in
mcs51.rules and cc2430em.target with no luck (by that I mean "make
clean" doesn't delete the files from CLEAN_EXTRA).
What did turn out to work for me was to create a clean.extra in my
support/mcs51/ directory - then "make cc2430em clean" does what I want..
The rule is very simple:
# Cleanup Keil mess
CLEAN_EXTRA += *.m51 *.Opt *.plg *_Uv2.Bak *.lst *.LST
$(call TOSMake_include,clean.target)
BUILD_DEPS = clean
--
Regards Martin Leopold.
Dept. of Computer Science, University of Copenhagen
http://www.diku.dk/~leopold
More information about the Tinyos-devel
mailing list