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]"
targets:
@ls -1 $(CONTIKI)/platform | grep -v CVS
@ls -1 $(CONTIKI)/platform $(TARGETDIRS) | grep -v CVS
savetarget:
-@rm -f Makefile.target