mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
Makefile rule for tokhash.c
This commit is contained in:
parent
6efa472d21
commit
b1dabe44ac
@ -112,10 +112,15 @@ regvals.c: regs.dat regs.pl
|
||||
regs.h: regs.dat regs.pl
|
||||
$(PERL) $(srcdir)/regs.pl h $(srcdir)/regs.dat > regs.h
|
||||
|
||||
# Token hash
|
||||
tokhash.c: insns.dat regs.dat tokens.dat tokhash.pl
|
||||
$(PERL) $(srcdir)/tokhash.pl $(srcdir)/insns.dat $(srcdir)/regs.dat \
|
||||
$(srcdir)/tokens.dat > tokhash.c
|
||||
|
||||
# This target generates all files that require perl.
|
||||
# This allows easier generation of distribution (see dist target).
|
||||
PERLREQ = macros.c insnsa.c insnsd.c insnsi.h insnsn.c \
|
||||
regs.c regs.h regflags.c regdis.c regvals.c \
|
||||
regs.c regs.h regflags.c regdis.c regvals.c tokhash.c \
|
||||
version.h version.mac
|
||||
perlreq: $(PERLREQ)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user