Mkfiles: harmonize how perl and (if available) makensis is run

Use the same macros to run Perl and makensis across all Makefiles.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2017-04-03 11:23:31 -07:00
parent 14858d7343
commit 6c48b42466
2 changed files with 11 additions and 4 deletions

View File

@ -39,8 +39,12 @@ INTERNAL_CFLAGS = /I$(srcdir) /I. \
ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS)
LDFLAGS = $(LDFLAGS) /SUBSYSTEM:CONSOLE /RELEASE
LIBS =
PERL = perl
PERL = $(PERL) -I$(srcdir)/perllib -I$(srcdir)
PERLFLAGS = -I$(srcdir)/perllib -I$(srcdir)
RUNPERL = $(PERL) $(PERLFLAGS)
MAKENSIS = makensis
# Binary suffixes
O = obj

View File

@ -22,11 +22,14 @@ LD = *wlink
LDEBUG =
LDFLAGS = op quiet $(%TARGET_LFLAGS) $(LDEBUG)
LIBS =
PERL = perl
RUNPERL = $(PERL) -I$(srcdir)/perllib -I$(srcdir)
STRIP = wstrip
PERL = perl
PERLFLAGS = -I$(srcdir)/perllib -I$(srcdir)
RUNPERL = $(PERL) $(PERLFLAGS)
MAKENSIS = makensis
# Binary suffixes
O = obj
X = .exe