Commit 7c8c002c authored by Claudio Bley's avatar Claudio Bley Committed by Niels Möller

Fix generation of headers when cross compiling

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: default avatarClaudio Bley <cbley@av-test.de>
parent e3415302
......@@ -292,9 +292,9 @@ des_headers = rotors.h keymap.h
# 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment