diff --git a/enc/depend b/enc/depend index 60d4e82eac..60c5a3ebb2 100644 --- a/enc/depend +++ b/enc/depend @@ -143,17 +143,11 @@ enc/<%=e%>.$(OBJEXT): <%=deps.map {|n| rule_subst % n}.join(' ')%> $(Q)<%=cmd%> % end -% (ENCS + ["trans/transdb"]).each do |e| +% dependencies.each do |e| <%="enc/#{e}.$(OBJEXT)"%>: <%="$(encsrcdir)/#{e}.c"%> $(ECHO) compiling <%= "$(encsrcdir)/#{e}.c"%> $(Q)<%=COMPILE_C.gsub(/\$(\()?<(\:[^)]+)?(\))?/){"$(encsrcdir)/#{e}.c"}%> -% end -% ATRANS.each do |e| -<%="enc/trans/#{e}.$(OBJEXT)"%>: <%=transvpath % "#{e}.c"%> - $(ECHO) compiling <%=transvpath % "#{e}.c"%> - $(Q)<%=COMPILE_C.gsub(/\$(\()?<(\:[^)]+)?(\))?/){ transvpath % "#{e}.c"}%> - % end enc/encdb.$(OBJEXT): encdb.h