1.1 --- a/mk/export_interface_cc.mk Fri Dec 09 19:33:15 2022 +0100
1.2 +++ b/mk/export_interface_cc.mk Sat Dec 10 01:28:22 2022 +0100
1.3 @@ -1,6 +1,6 @@
1.4 # C++ interface exporting rules.
1.5 #
1.6 -# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk>
1.7 +# Copyright (C) 2020, 2022 Paul Boddie <paul@boddie.org.uk>
1.8 #
1.9 # This program is free software; you can redistribute it and/or
1.10 # modify it under the terms of the GNU General Public License as
1.11 @@ -22,7 +22,7 @@
1.12 $(1)_INT_IDL = $(call interfaces_to_idl,$(1))
1.13 $(1)_INT_INC = $(call export_includes,$(call interfaces_to_interface_h,$(1)))
1.14
1.15 -$$($(1)_INT_INC): $$($(1)_INT_IDL)
1.16 +$$($(1)_INT_INC): $$($(1)_INT_IDL) $(IDL_PROG)
1.17 -mkdir -p $(IDL_EXPORT_DIR)
1.18 $(IDL_PROG) -d $(IDL_EXPORT_DIR) --interfaces --language=c++ $$($(1)_INT_IDL)
1.19 endif