Makefile
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. # Makefile - makefile skeleton for demo/vxColor
  2. #
  3. # Copyright 1984-1998 Wind River Systems, Inc.
  4. #
  5. # modification history
  6. # --------------------
  7. # 01k,27nov98,p_m  Get rid of vxColor2.c since we don't need a buggy vxColor
  8. #                  now that the whirlwind tour is gone
  9. # 01j,20feb97,jank added subst / to  using DIRCHAR in CP line for WIN32 builds
  10. # 01i,12nov96,p_m  added TGT_DIR
  11. # 01h,31oct96,yp   added clean and release rules
  12. # 01g,15nov95,jcf  consolidated old and new versions of demo here.
  13. # 01f,15nov95,jcf  changed name to vxColor.o.
  14. # 01e,13nov95,p_m  used DEMO_DIR in order to build on Unix and WIN32.
  15. # 01d,11nov95,p_m  changed mv to cp and added rm.
  16. # 01c,11nov95,jeh  undoing last change.
  17. # 01b,11nov95,jeh  changed 'mv' command to $(CP)
  18. # 01a,21sep95,jco  written.
  19. #       +yp
  20. #
  21. # DESCRIPTION
  22. # This file contains rules for building the vxColor demo for the desired
  23. # architecture.
  24. #
  25. # The file vxColor.c contains the actual demo, and builds its object into 
  26. # the file named target/lib/.../vxColor.o.  The host portion of the demo, 
  27. # vxColor, references this resultant object module.
  28. #
  29. # INCLUDES
  30. #     makeTarget
  31. #*/
  32. TGT_DIR=$(WIND_BASE)/target
  33. DOC_FILES =
  34. LIBDIRNAME=obj$(CPU)$(TOOL)test
  35. OBJS= vxColor.o
  36. include $(TGT_DIR)/h/make/rules.library
  37. CC_OPTIM = -g -fstrength-reduce -fno-builtin
  38. # The normal end when using makeLibrary is to create a lib, but here, we
  39. # don't need lib creation. The following settings prevent lib creation.
  40. AR=echo
  41. RANLIB=echo