2
0

winarm.mk 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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
  7. CC=cl
  8. CCFLAGS=/Ox /nologo /Iinclude /DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
  9. AR=lib
  10. ARFLAGS=/MACHINE:ARM /NOLOGO /SUBSYSTEM:NATIVE
  11. RM=cmd /c del
  12. LOCAL_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/planar_functions.o\
  23. source/rotate.o\
  24. source/rotate_any.o\
  25. source/rotate_argb.o\
  26. source/rotate_common.o\
  27. source/row_any.o\
  28. source/row_common.o\
  29. source/scale.o\
  30. source/scale_any.o\
  31. source/scale_argb.o\
  32. source/scale_common.o\
  33. source/video_common.o
  34. .cc.o:
  35. $(CC) /c $(CCFLAGS) $*.cc /Fo$@
  36. all: libyuv_arm.lib winarm.mk
  37. libyuv_arm.lib: $(LOCAL_OBJ_FILES) winarm.mk
  38. $(AR) $(ARFLAGS) /OUT:$@ $(LOCAL_OBJ_FILES)
  39. clean:
  40. $(RM) "source\*.o" libyuv_arm.lib