main makefile: also search TARGETDIRs when listing all available targets

This commit is contained in:
Mariano Alvira 2012-02-17 11:54:06 -05:00
parent 6233de96b9
commit 022d7193d1

View file

@ -25,7 +25,7 @@ usage:
@echo "make MAKETARGETS... [TARGET=(TARGET)] [savetarget] [targets]" @echo "make MAKETARGETS... [TARGET=(TARGET)] [savetarget] [targets]"
targets: targets:
@ls -1 $(CONTIKI)/platform | grep -v CVS @ls -1 $(CONTIKI)/platform $(TARGETDIRS) | grep -v CVS
savetarget: savetarget:
-@rm -f Makefile.target -@rm -f Makefile.target