]> granicus.if.org Git - libx264/commitdiff
support for build checkasm.exe
authorMin Chen <chenm001@163.com>
Mon, 14 Jun 2004 05:47:51 +0000 (05:47 +0000)
committerMin Chen <chenm001@163.com>
Mon, 14 Jun 2004 05:47:51 +0000 (05:47 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@7 df754926-b1dd-0310-bc7b-ec298dee348c

build/cygwin/Makefile

index 127252500ac8cdcf3921334da6fd18f6eef620e3..7ea6c897f4f7507fa7060698cb057732687f8164 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Author: x264 by Laurent Aimar <fenrir@via.ecp.fr>
 #
-# $Id: Makefile,v 1.2 2004/06/10 18:13:38 fenrir Exp $
+# $Id: Makefile,v 1.3 2004/06/14 05:47:51 chenm001 Exp $
 ##############################################################################
 
 # Current dir
@@ -96,6 +96,12 @@ x264.exe: $(DIR_BUILD) $(OBJECTS) x264.obj
        $(CC) $(CFLAGS) -o x264.exe x264.obj libx264.a -lm && \
        cp -f x264.exe $(DIR_SRC)
 
+checkasm.exe: $(DIR_BUILD) libx264.a $(OBJECTS) testing/checkasm.obj
+       @echo " L: $(@F)"
+       @cd $(DIR_BUILD) && \
+       $(CC) $(CFLAGS) -o checkasm.exe testing/checkasm.obj libx264.a -lm && \
+       cp -f checkasm.exe $(DIR_SRC)
+
 clean:
        @echo " Cl: Object files and target lib"
        @$(RM) $(DIR_BUILD)