diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-25 22:10:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-25 22:10:56 +0000 |
commit | d6b30f6e49779b31617fad8e8daa06470145f909 (patch) | |
tree | 7123939c22af75fef3c7ace3aaa486afdaf4b6d7 /apps/examples/elf/Makefile | |
parent | 5ae419f6845ff28bcbdb339cdfb66f6b2e46f9ab (diff) | |
download | px4-nuttx-d6b30f6e49779b31617fad8e8daa06470145f909.tar.gz px4-nuttx-d6b30f6e49779b31617fad8e8daa06470145f909.tar.bz2 px4-nuttx-d6b30f6e49779b31617fad8e8daa06470145f909.zip |
More ELF loader changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5261 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/elf/Makefile')
-rw-r--r-- | apps/examples/elf/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile index 640e8e427..23a6bcb6f 100644 --- a/apps/examples/elf/Makefile +++ b/apps/examples/elf/Makefile @@ -61,7 +61,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built -.PHONY: headers clean depend disclean +.PHONY: headers clean_tests clean depend disclean $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -72,7 +72,7 @@ $(COBJS): %$(OBJEXT): %.c headers: @$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) -.built: $(OBJS) +.built: headers $(OBJS) @( for obj in $(OBJS) ; do \ $(call ARCHIVE, $(BIN), $${obj}); \ done ; ) @@ -88,7 +88,10 @@ context: depend: .depend -clean: +clean_tests: + @$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) clean + +clean: clean_tests @rm -f *.o *~ .*.swp .built $(call CLEAN) |