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 297baed1ec
commit 4d29d2d222
1 changed files with 5 additions and 3 deletions

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