diff --git a/enc/depend b/enc/depend index 60c5a3ebb2..60d4e82eac 100644 --- a/enc/depend +++ b/enc/depend @@ -143,11 +143,17 @@ enc/<%=e%>.$(OBJEXT): <%=deps.map {|n| rule_subst % n}.join(' ')%> $(Q)<%=cmd%> % end -% dependencies.each do |e| +% (ENCS + ["trans/transdb"]).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