version.mak for the version Makefile fragment

Be consistent about the naming of the version Makefile fragment.  We
use .mak elsewhere for Makefiles, so use that.
This commit is contained in:
H. Peter Anvin 2008-07-13 13:54:47 -07:00
parent a8ef7ab51d
commit cdc69da37c
2 changed files with 5 additions and 5 deletions

View File

@ -108,8 +108,8 @@ version.mac: version version.pl
$(PERL) $(srcdir)/version.pl mac < $(srcdir)/version > version.mac
version.sed: version version.pl
$(PERL) $(srcdir)/version.pl sed < $(srcdir)/version > version.sed
version.make: version version.pl
$(PERL) $(srcdir)/version.pl make < $(srcdir)/version > version.make
version.mak: version version.pl
$(PERL) $(srcdir)/version.pl make < $(srcdir)/version > version.mak
# This source file is generated from the standard macros file
# `standard.mac' by another Perl script. Again, it's part of the
@ -157,7 +157,7 @@ pptok.ph: pptok.dat pptok.pl perllib/phash.ph
PERLREQ = macros.c insnsb.c insnsa.c insnsd.c insnsi.h insnsn.c \
regs.c regs.h regflags.c regdis.c regdis.h regvals.c \
tokhash.c tokens.h pptok.h pptok.c pptok.ph \
version.h version.mac version.make
version.h version.mac version.mak
perlreq: $(PERLREQ)
install: nasm$(X) ndisasm$(X)

View File

@ -3,7 +3,7 @@
PROOT=.
OBJDIR=release
-include $(OBJDIR)/version.inc
-include $(OBJDIR)/version.mak
TARGETS=nasm.nlm ndisasm.nlm
@ -113,7 +113,7 @@ clean:
distclean: clean
-$(RM) $(TARGETS)
$(OBJDIR)/version.inc: $(PROOT)/version $(PROOT)/version.pl $(OBJDIR)
$(OBJDIR)/version.mak: $(PROOT)/version $(PROOT)/version.pl $(OBJDIR)
@$(PERL) $(PROOT)/version.pl make < $< > $@
#-- Magic hints to mkdep.pl --#