home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK4 / SAMPLES / PWBTUTOR / EXTRA.TX$ / EXTRA
Encoding:
Text File  |  1991-08-05  |  1.0 KB  |  46 lines

  1.  
  2. # << User_supplied_information >>
  3.  
  4. # Example 'user section' for PWB project makefiles,
  5. # used in the PWB Tutorial.
  6. #
  7. # NOTE: This is not an standalone makefile.
  8. #       Append this file to makefiles created by PWB.
  9. #
  10. # This user section adds a new target to build a project
  11. # listing that shows the build type, options, and a list
  12. # of files in the project.
  13. #
  14.  
  15. !IFNDEF PROJ
  16. !ERROR Not a standalone makefile.
  17. !ENDIF
  18.  
  19. !IF $(DEBUG)
  20. BUILD_TYPE = debug
  21. !ELSE
  22. BUILD_TYPE = release
  23. !ENDIF
  24.  
  25. # Project files and information-list target
  26. #
  27. $(PROJ).lst : $(PROJFILE)
  28.     @echo <<$(PROJ).lst : Project File List
  29. Project Name:      $(PROJ)
  30. Build Type:        $(BUILD_TYPE)
  31. Program Arguments: $(RUNFLAGS)
  32. Project Files
  33.     $(FILES: =^
  34.     )
  35. C Compiler Options
  36.     Global:  $(CFLAGS_G)
  37.     Debug:   $(CFLAGS_D)
  38.     Release: $(CFLAGS_R)
  39. Link Options
  40.     Global:  $(LFLAGS_G)
  41.     Debug:   $(LFLAGS_D)
  42.     Release: $(LFLAGS_R)
  43.     Debug   Libraries: $(LLIBS_D)
  44.     Release Libraries: $(LLIBS_R)
  45. <<KEEP
  46.