home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / sofa / archive / exml.lha / exml / examples / se_test / smakefile < prev   
Makefile  |  1999-10-10  |  807b  |  39 lines

  1. #
  2. # smakefile
  3. #
  4. # If exml.lib does not exist in Sofa's library drawer, create it using
  5. # ${EXML}/compiler_specific/se/smakefile. See there for details.
  6. #
  7. # Then, just type
  8. #
  9. #    smake
  10. #    root_class
  11. #
  12. # to compile and perform a test run
  13. #
  14.  
  15. SOFA=/////sofa
  16. EXML=///exml
  17. EXPAT=//expat
  18. CLIB=$(EXML)/compiler_specific/se/clib
  19.  
  20. EIFFEL_ROOT_CLASS=root_class
  21. EIFFEL_CREATION_ROUTINE=make
  22. ROOT_DIR=$(EXML)/examples/se_test
  23.  
  24. CECIL=-cecil $(EXML)/compiler_specific/se/cecil.se
  25. EXT_C=$(CLIB)/exml_parser.c $(CLIB)/expat_parser_error_codes.c
  26. EFLAGS=-all_check -no_style_warning
  27.  
  28. $(EIFFEL_ROOT_CLASS) :
  29.     compile $(EFLAGS) $(CECIL) $(EXT_C) $(EIFFEL_ROOT_CLASS) $(EIFFEL_CREATION_ROUTINE)
  30.  
  31. clean :
  32.     clean $(EIFFEL_ROOT_CLASS)
  33.  
  34. sterile : clean
  35.     -delete quiet $(EIFFEL_ROOT_CLASS)
  36.  
  37.  
  38.  
  39.