mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
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:
parent
a8ef7ab51d
commit
cdc69da37c
@ -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)
|
||||
|
@ -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 --#
|
||||
|
Loading…
x
Reference in New Issue
Block a user