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

VxWorks

开发平台:

C/C++

  1. # Makefile - for datagram demo.
  2. #
  3. # modification history
  4. # --------------------
  5. # 01b,13nov95,p_m  adapted to Tornado.
  6. # 01a,12feb93,jcf  written.
  7. #
  8. # DESCRIPTION
  9. # This file contains the makefile rules for building the host and target
  10. # side of the VxWorks demo dg.
  11. #
  12. # SUBSTITUTION
  13. # The following constant will be substitued:
  14. #    CPU              cpu/architecture
  15. #    TOOL             tool chain used for build
  16. #    WIND_HOST_TYPE   host type; controls building of host-specific tools
  17. #*/
  18. CPU = MC68020
  19. TOOL = gnu
  20. include $(WIND_BASE)/target/h/make/defs.bsp
  21. include $(WIND_BASE)/target/h/make/make.$(CPU)$(TOOL)
  22. include $(WIND_BASE)/target/h/make/defs.$(WIND_HOST_TYPE)
  23. default : $(DEMO_DIR)
  24. $(DEMO_DIR) : .neverbuilt
  25. $(CC) $(CFLAGS) -c dgTest.c
  26. $(CP) dgTest.o $@
  27. exe :
  28. .neverbuilt :