home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / fish / disks / d1101.lha / Programs / C_dt / Makefile < prev    next >
Encoding:
Makefile  |  1995-07-09  |  1.9 KB  |  87 lines

  1. #
  2. # $PROJECT: c.datatype
  3. #
  4. # $VER: Makefile 39.1 (18.03.95)
  5. #
  6. # by
  7. #
  8. # Stefan Ruppert , Windthorststraße 5 , 65439 Flörsheim , GERMANY
  9. #
  10. # (C) Copyright 1995
  11. # All Rights Reserved !
  12. #
  13. # $DESCRIPTION:
  14. #
  15. # If you want to recompile the datatype you have to do some initial work, to
  16. # run this makefile !
  17. # First you must have installed the ixemul.library and the gnu make utility !
  18. # Second you have to set the VERSION,REVISION variables (In my environment it's
  19. # automatically set). Then you have to install the include makefiles from
  20. # misc/*.mk to gnu:share/gmk/. After this you need a assign called objs: to
  21. # hold all object files ! I use also a modified version of the bison.simple
  22. # file (see in misc/bison.simple) !
  23. # Now you can run make from this directory !
  24. #
  25. # $HISTORY:
  26. #
  27. # 18.03.95 : 039.001 : initial
  28. #
  29.  
  30. VERSTR     = $(VERSION).$(REVISION)
  31. NAME       = c
  32. SHNAME     = cdt
  33. SHORT      = $(NAME).datatype highlights c/c++ keywords etc.
  34. PLACE      = util/dtype
  35. README     = Readme
  36.  
  37. RELEASE    = $(NAME)dt_$(VERSTR).lha
  38. RELEASEPAT = $(NAME)dt $(NAME)dt.info
  39.  
  40.  
  41. ##############################################################################
  42. #
  43. # just call the makefile in source for each cpu in CPUTOMAKE
  44. #
  45.  
  46. CPUTOMAKE = 000 \
  47.                 020 \
  48.                 030 \
  49.                 040
  50.  
  51. ##############################################################################
  52. #
  53. # docs and guides
  54. #
  55.  
  56. AUTODOCS = doc/$(NAME)_dtc.doc
  57. GUIDE    = help/$(NAME)_dtc
  58.  
  59. ##############################################################################
  60. #
  61. # source
  62. #
  63.  
  64. SRCS     = source/dispatch.c
  65.  
  66.  
  67. all:: cpuversions
  68.  
  69. cpuversions::
  70.     -@for i in $(CPUTOMAKE); \
  71.     do \
  72.         (cd source; echo "making 68$$i version of $(NAME).datatype"; \
  73.          make LIBSDEST='/Classes/datatypes/$(NAME).datatype.'$$i \
  74.                 SCOPTIMIZE='OPT OPTTIME OPTSCHED OPTINLOCAL CPU=68'$$i \
  75.                 OBJDIR='/objs/$(SHNAME)/rls'$$i \
  76.                 DEBUG='' ) ; \
  77.     done
  78.  
  79. documentation:: $(AUTODOCS) $(GUIDE)
  80.  
  81. include /gnu/share/gmk/autodoc.mk
  82.  
  83. release: $(RELEASE)
  84.  
  85. include /gnu/share/gmk/release.mk
  86.  
  87.