Use the EXEEXT_FOR_BUILD when calling the generated desdata
program, otherwise the build fails when cross compiling because
keymap.h and rotors.h are not found.
Signed-off-by: Claudio Bley <cbley@av-test.de>
# Generate DES headers.
$(des_headers): desdata.c
- $(MAKE) desdata$(EXEEXT)
+ $(MAKE) desdata$(EXEEXT_FOR_BUILD)
f="$(srcdir)/`basename $@`"; \
- ./desdata$(EXEEXT) $(@F) > $${f}T; \
+ ./desdata$(EXEEXT_FOR_BUILD) $(@F) > $${f}T; \
test -s $${f}T && mv -f $${f}T $$f
des.$(OBJEXT): des.c des.h $(des_headers)