Index: third_party/yasm/patched-yasm/Mkfiles/Makefile.flat |
=================================================================== |
--- third_party/yasm/patched-yasm/Mkfiles/Makefile.flat (revision 165590) |
+++ third_party/yasm/patched-yasm/Mkfiles/Makefile.flat (working copy) |
@@ -1,5 +1,3 @@ |
-# $Id: Makefile.flat 2284 2010-02-06 09:27:32Z peter $ |
-# |
# Ultra-flat Makefile "prototype" for non-Unix platforms. |
# Does NOT depend on or use configure. |
# |
@@ -199,7 +197,7 @@ |
modules/objfmts/coff/coff-objfmt.c: win64-nasm.c win64-gas.c |
-genversion: modules/preprocs/nasm/genversion.c |
+genversion: modules/preprocs/nasm/genversion.c YASM-VERSION.h |
$(BUILDCC) -IMkfiles -I. -o $@ $< |
version.mac: genversion |
@@ -274,3 +272,8 @@ |
.c.o: |
$(CC) -c $(CFLAGS) -o $@ $< |
+$(YASM_OBJS) $(YTASM_OBJS) $(VSYASM_OBJS): YASM-VERSION.h |
+ |
+YASM-VERSION.h: YASM-VERSION-GEN.sh |
+ sh YASM-VERSION-GEN.sh |
+ |