mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
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:
parent
14858d7343
commit
6c48b42466
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user