mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
syncfiles: use #-- ... --# for consistency with mkdep.pl
mkdep.pl already used #-- ... --# (two dashes) whereas syncfiles.pl was using #--- ... ---# (three dashes). Change syncfiles.pl to match mkdep.pl.
This commit is contained in:
parent
c5d8030768
commit
c0d6066d99
6 changed files with 12 additions and 12 deletions
|
|
@ -58,7 +58,7 @@ X = @EXEEXT@
|
|||
.1.man:
|
||||
$(NROFF) -man $< > $@
|
||||
|
||||
#--- Begin File Lists ---#
|
||||
#-- Begin File Lists --#
|
||||
NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) \
|
||||
float.$(O) insnsa.$(O) insnsb.$(O) \
|
||||
assemble.$(O) labels.$(O) hashtbl.$(O) crc64.$(O) parser.$(O) \
|
||||
|
|
@ -73,7 +73,7 @@ NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) \
|
|||
|
||||
NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) \
|
||||
insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O)
|
||||
#--- End File Lists ---#
|
||||
#-- End File Lists --#
|
||||
|
||||
all: nasm$(X) ndisasm$(X) nasm.man ndisasm.man
|
||||
cd rdoff && $(MAKE) all
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ X = .exe
|
|||
.c.obj:
|
||||
$(CC) /c $(ALL_CFLAGS) /Fo$@ $<
|
||||
|
||||
#--- Begin File Lists ---#
|
||||
#-- Begin File Lists --#
|
||||
# Edit in Makefile.in, not here!
|
||||
NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) \
|
||||
float.$(O) insnsa.$(O) insnsb.$(O) \
|
||||
|
|
@ -48,7 +48,7 @@ NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) \
|
|||
|
||||
NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) \
|
||||
insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O)
|
||||
#--- End File Lists ---#
|
||||
#-- End File Lists --#
|
||||
|
||||
all: nasm$(X) ndisasm$(X)
|
||||
rem cd rdoff && $(MAKE) all
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ LDFLAGS+=-s
|
|||
|
||||
O = o
|
||||
|
||||
#--- Begin File Lists ---#
|
||||
#-- Begin File Lists --#
|
||||
# Edit in Makefile.in, not here!
|
||||
NASM = nasm.o nasmlib.o raa.o saa.o \
|
||||
float.o insnsa.o insnsb.o \
|
||||
|
|
@ -44,7 +44,7 @@ NASM = nasm.o nasmlib.o raa.o saa.o \
|
|||
|
||||
NDISASM = ndisasm.o disasm.o sync.o nasmlib.o \
|
||||
insnsd.o insnsb.o insnsn.o regs.o regdis.o
|
||||
#--- End File Lists ---#
|
||||
#-- End File Lists --#
|
||||
|
||||
NASM_OBJ = $(addprefix $(OBJDIR)/,$(notdir $(NASM))) $(EOLIST)
|
||||
NDIS_OBJ = $(addprefix $(OBJDIR)/,$(notdir $(NDISASM))) $(EOLIST)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ X = .exe
|
|||
$(CC) -c $(ALL_CFLAGS) -fo=$^@ $[@
|
||||
|
||||
# Note: wcl386 is broken if forward slashes are used as path separators.
|
||||
#--- Begin File Lists ---#
|
||||
#-- Begin File Lists --#
|
||||
# Edit in Makefile.in, not here!
|
||||
NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) &
|
||||
float.$(O) insnsa.$(O) insnsb.$(O) &
|
||||
|
|
@ -60,7 +60,7 @@ NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) &
|
|||
|
||||
NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) &
|
||||
insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O)
|
||||
#--- End File Lists ---#
|
||||
#-- End File Lists --#
|
||||
|
||||
what: .SYMBOLIC
|
||||
@echo Please build "dos", "win32" or "os2"
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ X = .exe
|
|||
.c.$(O):
|
||||
$(CC) -c $(ALL_CFLAGS) -fo=$@ $<
|
||||
|
||||
#--- Begin File Lists ---#
|
||||
#-- Begin File Lists --#
|
||||
# Edit in Makefile.in, not here!
|
||||
NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) \
|
||||
float.$(O) insnsa.$(O) insnsb.$(O) \
|
||||
|
|
@ -71,7 +71,7 @@ NASM = nasm.$(O) nasmlib.$(O) raa.$(O) saa.$(O) \
|
|||
|
||||
NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) \
|
||||
insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O)
|
||||
#--- End File Lists ---#
|
||||
#-- End File Lists --#
|
||||
|
||||
what:
|
||||
@echo 'Please build "dos", "win32" or "os2"'
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ foreach $file (@ARGV) {
|
|||
while (defined($line = <FILE>)) {
|
||||
chomp $line;
|
||||
if ($processing) {
|
||||
if ($line eq '#--- End File Lists ---#') {
|
||||
if ($line eq '#-- End File Lists --#') {
|
||||
push(@lines, $line."\n");
|
||||
$processing = 0;
|
||||
} elsif ($first) {
|
||||
|
|
@ -68,7 +68,7 @@ foreach $file (@ARGV) {
|
|||
}
|
||||
} else {
|
||||
push(@lines, $line."\n");
|
||||
if ($line eq '#--- Begin File Lists ---#') {
|
||||
if ($line eq '#-- Begin File Lists --#') {
|
||||
$processing = 1;
|
||||
if (!$first) {
|
||||
push(@lines, "# Edit in $first_file, not here!\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue