Makefile: wrap sh and perl calls

This commit is contained in:
Philippe Teuwen 2020-05-20 18:12:41 +02:00
commit 0172b0638b
4 changed files with 5 additions and 3 deletions

View file

@ -39,7 +39,7 @@ OBJS = $(OBJDIR)/bootrom.s19
# version.c should be remade on every compilation
version.c: default_version.c
$(info [=] GEN $@)
$(Q)sh ../tools/mkversion.sh > $@ || perl ../tools/mkversion.pl > $@ || $(CP) $^ $@
$(Q)$(SH) ../tools/mkversion.sh > $@ || $(PERL) ../tools/mkversion.pl > $@ || $(CP) $^ $@
all: showinfo $(OBJS)