From 157635509aac37fe406a1da294bb2f21808138b9 Mon Sep 17 00:00:00 2001 From: Debbie Wiles Date: Mon, 20 May 2002 02:26:35 +0000 Subject: Added make rules for files generated from perl scripts --- Mkfiles/Makefile.vc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'Mkfiles/Makefile.vc') diff --git a/Mkfiles/Makefile.vc b/Mkfiles/Makefile.vc index 1e8ec7d..bc20308 100644 --- a/Mkfiles/Makefile.vc +++ b/Mkfiles/Makefile.vc @@ -73,6 +73,35 @@ insnsa.$(OBJ): insnsa.c nasm.h version.h insnsi.h insns.h insnsd.$(OBJ): insnsd.c nasm.h version.h insnsi.h insns.h $(QCL) insnsd.c +# These source files are automagically generated from a single +# instruction-table file by a Perl script. They're distributed, +# though, so it isn't necessary to have Perl just to recompile NASM +# from the distribution. + +insnsa.c: insns.dat insns.pl + perl insns.pl -a insns.dat +insnsd.c: insns.dat insns.pl + perl insns.pl -d insns.dat +insnsi.h: insns.dat insns.pl + perl insns.pl -i insns.dat +insnsn.c: insns.dat insns.pl + perl insns.pl -n insns.dat + +# These files contains all the standard macros that are derived from +# the version number. +version.h: version version.pl + perl version.pl h < version > version.h + +version.mac: version version.pl + perl version.pl mac < version > version.mac + +# This source file is generated from the standard macros file +# `standard.mac' by another Perl script. Again, it's part of the +# standard distribution. + +macros.c: macros.pl standard.mac version.mac + perl macros.pl standard.mac version.mac + clean : del *.obj del nasm$(SUFFIX)$(EXE) -- cgit v1.2.3