widl: Add support for standard target options to allow building the right typelib kind when cross-compiling.
diff --git a/Make.rules.in b/Make.rules.in
index 5dc8884..254e8a2 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -183,7 +183,7 @@
 	$(WIDL) $(IDLFLAGS) -s -S $@ $<
 
 .idl.tlb:
-	$(WIDL) $(IDLFLAGS) -t -T $@ $<
+	$(WIDL) $(TARGETFLAGS) $(IDLFLAGS) -t -T $@ $<
 
 .c.ln:
 	$(LINT) -c $(ALLLINTFLAGS) $< || ( $(RM) $@ && exit 1 )