Adjusted the projects Makefile so that it picks up the name of projects

by scanning the source tree (not the object tree).

llvm-svn: 10223
This commit is contained in:
John Criswell 2003-11-25 20:37:45 +00:00
parent 5cd87ea6e5
commit a15a79a03e

View File

@ -8,7 +8,9 @@
##===----------------------------------------------------------------------===##
LEVEL=..
DIRS=
OPTIONAL_DIRS:=$(shell ls | grep -v CVS)
include $(LEVEL)/Makefile.config
include $(LEVEL)/Makefile.common
DIRS=
OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
include $(BUILD_SRC_ROOT)/Makefile.rules