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