fix command line in 'dep'.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2003-09-17 09:09:31 +00:00
parent 30103702c3
commit ad143475b9

View File

@ -102,7 +102,7 @@ test-link: $(OBJS)
@echo "Done."
dep:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $^ -MM | \\
$(CC) $(CFLAGS) $(CPPFLAGS) -c $(SRCS) -MM | \\
$(RUBY) -p -e 'BEGIN{S = []' \\
-e 'while !ARGV.empty? and /^(\\w+)=(.*)/ =~ ARGV[0]' \\
-e 'S << [/\#{Regexp.quote($$2)}\\//, "$$(\#{$$1})/"]' \\