mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
POSIX sh version of mkversion
Most targeted platforms have "sh" and don't need Perl as requirement. Still Perl script is present as fallback.
This commit is contained in:
parent
0d986ab212
commit
8987e956ac
8 changed files with 67 additions and 6 deletions
|
@ -36,7 +36,7 @@ OBJS = $(OBJDIR)/bootrom.s19
|
|||
# version.c should be remade on every compilation
|
||||
version.c: default_version.c
|
||||
$(info [=] GEN $@)
|
||||
$(Q)perl ../tools/mkversion.pl .. > $@ || $(COPY) $^ $@
|
||||
$(Q)sh ../tools/mkversion.sh > $@ || perl ../tools/mkversion.pl > $@ || $(COPY) $^ $@
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue