home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pmtclsh.zip / src.zip / pmtclsh.MAK < prev    next >
Text File  |  1996-10-26  |  2KB  |  60 lines

  1. .AUTODEPEND =
  2. .PATH.obj = .
  3.  
  4. #============================================================
  5. #         Translator Definitions
  6. #============================================================
  7. INCLUDE = d:\prog\bcos2\include
  8. LIB = d:\prog\bcos2\lib
  9. #OPZCMP = -c -Zmt -Zomf -Zcrtdll -Wall
  10. #OPZCMP = -c -sm -I$(INCLUDE)
  11. OPZCMP = /Ti+ /C+ /Gm+
  12. CC = icc
  13. RC = brcc
  14.  
  15. #============================================================
  16. #         Implicit Rules
  17. #============================================================
  18. .c.obj:
  19.   $(CC) $(OPZCMP) $<
  20.  
  21. .rc.res:
  22.   $(RC) -r $*.rc
  23.  
  24. #============================================================
  25. #         List Macros
  26. #============================================================
  27.  
  28. OBJS = pmtclsh.obj thInterp.obj
  29. RESOURCES = pmtclsh.res
  30. EXE_DEPENDENCIES = $(OBJS) $(RESOURCES)
  31.  
  32. DIST = pmtclsh.exe pmtclsh.ico dist\manuale.txt dist\manual.txt \
  33.        dist\manuale.rtf dist\manual.rtf
  34. SRC = thinterp.c pmtclsh.c pmtclsh.h pmtclsh.rc pmtclsh.mak
  35. ZIPOPZ = -9 -j
  36.  
  37.  
  38. #============================================================
  39. #         Explicit Rules
  40. #============================================================
  41. pmtclsh.exe: $(EXE_DEPENDENCIES)
  42. #  gcc -Zomf -Zcrtdll -Zmt -o pmtclsh.exe $(EXE_DEPENDENCIES)
  43. #   bcc -v -sm -L$(LIB) -epmtclsh.exe $(OBJS)
  44.    icc /B"/pmtype:pm" /Fepmtclsh.exe /Ti+ /Gm+ $(OBJS)
  45.    rc $(RESOURCES) pmtclsh.exe
  46.  
  47. dist: sorgenti $(DIST)
  48.   del dist\pmtclsh.zip
  49.   zip $(ZIPOPZ) dist\pmtclsh $(DIST) dist\src.zip
  50.  
  51. sorgenti: $(SRC)
  52.   del dist\src.zip
  53.   zip $(ZIPOPZ) dist\src $(SRC)
  54.  
  55. #============================================================
  56. #         Individual File Dependencies
  57. #============================================================
  58. pmtclsh.obj: pmtclsh.c
  59. thInterp.obj: thInterp.c
  60. pmtclsh.res: pmtclsh.rc