1# This is a generic makefile for libyuv for Windows Arm. 2# call "c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_arm\vcvarsx86_arm.bat" 3# nmake /f winarm.mk 4# make -f winarm.mk 5# nmake /f winarm.mk clean 6# consider /arch:ARMv7VE 7CC=cl 8CCFLAGS=/Ox /nologo /Iinclude /DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP 9AR=lib 10ARFLAGS=/MACHINE:ARM /NOLOGO /SUBSYSTEM:NATIVE 11RM=cmd /c del 12 13LOCAL_OBJ_FILES = \ 14 source/compare.o\ 15 source/compare_common.o\ 16 source/convert.o\ 17 source/convert_argb.o\ 18 source/convert_from.o\ 19 source/convert_from_argb.o\ 20 source/convert_to_argb.o\ 21 source/convert_to_i420.o\ 22 source/cpu_id.o\ 23 source/planar_functions.o\ 24 source/rotate.o\ 25 source/rotate_any.o\ 26 source/rotate_argb.o\ 27 source/rotate_common.o\ 28 source/row_any.o\ 29 source/row_common.o\ 30 source/scale.o\ 31 source/scale_any.o\ 32 source/scale_argb.o\ 33 source/scale_common.o\ 34 source/video_common.o 35 36.cc.o: 37 $(CC) /c $(CCFLAGS) $*.cc /Fo$@ 38 39all: libyuv_arm.lib winarm.mk 40 41libyuv_arm.lib: $(LOCAL_OBJ_FILES) winarm.mk 42 $(AR) $(ARFLAGS) /OUT:$@ $(LOCAL_OBJ_FILES) 43 44clean: 45 $(RM) "source\*.o" libyuv_arm.lib 46 47