A C standard library for sh3eb-elf.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile.vms 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #
  2. # makefile for bfd, binutils and gas
  3. #
  4. # Created by Klaus K"ampf (kkaempf@rmi.de)
  5. #
  6. # You must use Version 3.76 of GNU Make
  7. #
  8. #
  9. ifeq ($(ARCH),ALPHA)
  10. CC = gcc
  11. GASCC = $(CC)
  12. else
  13. CC = cc
  14. GASCC = gcc
  15. endif
  16. ifeq ($(CC),cc)
  17. CHECK-COMPILER = check_compiler
  18. else
  19. CHECK-COMPILER =
  20. endif
  21. all: check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
  22. $(CD) [.bfd]
  23. @gmake "CC=$(CC)"
  24. $(CD) [-.opcodes]
  25. @gmake "CC=$(CC)"
  26. $(CD) [-.libiberty]
  27. @gmake "CC=$(CC)"
  28. $(CD) [-.binutils]
  29. @gmake "CC=$(CC)"
  30. $(CD) [-.gas]
  31. @gmake "CC=$(GASCC)"
  32. $(CD) [-]
  33. check_cc:
  34. ifeq ($CC,)
  35. @$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
  36. stop
  37. endif
  38. check_compiler:
  39. @$(ECHO) "Perform a '$$ @setup' before starting make"
  40. [.binutils]makefile.vms:
  41. $(CD) [.binutils]
  42. $$ @configure
  43. $(CD) [-]
  44. install: all
  45. $(CD) [.binutils]
  46. @gmake "CC=$(CC)" install
  47. $(CD) [-]
  48. $(CD) [.gas]
  49. @gmake "CC=$(GASCC)" install
  50. $(CD) [-]
  51. clean:
  52. $(CD) [.bfd]
  53. @gmake clean
  54. $(CD) [-.opcodes]
  55. @gmake clean
  56. $(CD) [-.libiberty]
  57. @gmake clean
  58. $(CD) [-.binutils]
  59. @gmake clean
  60. $(CD) [-.gas]
  61. @gmake clean
  62. $(CD) [-]