home *** CD-ROM | disk | FTP | other *** search
/ Pleasure 76 / OTACD76.bin / archive / game / PsrSDK16a / PsrSDK16a.lzh / Sample / PsrStr / MAKEFILE next >
Text File  |  2000-08-07  |  1KB  |  59 lines

  1. #
  2. #    PSRSTR make file
  3. #
  4. # Some nmake macros for building Win32 applications
  5. #
  6. #        Copyright (c) ふぃろ 2000.
  7.  
  8. NODEBUG = 1
  9. !include <ntwin32.mak>
  10.  
  11. # for Windows applications that use the C Run-Time libraries
  12. #    conlibs    = $(libc) $(baselibs)
  13. #    conlibsmt  = $(libcmt) $(baselibs)
  14. #    conlibsdll = $(libcdll) $(baselibs)
  15. #    guilibs    = $(libc) $(winlibs)
  16. #    guilibsmt  = $(libcmt) $(winlibs)
  17. #    guilibsdll = $(libcdll) $(winlibs)
  18.  
  19. HOME    = ..\..
  20. SRCS    = $(HOME)
  21.  
  22. DLLOP    = .
  23. LIBOP    = $(HOME)\LIB
  24. OBJOP    = .
  25. INCLS    = /I$(SRCS)\INCLUDE
  26.  
  27. CCOPT    =/Fo$(OBJOP)\ $(INCLS) $(cflags) $(cvars) $(cdebug)
  28. LKOPT    =-dll $(ldebug) $(conlibsdll) /NODEFAULTLIB:libc.lib
  29.  
  30. APP    = PsrStr
  31. TARGET    = $(DLLOP)\$(APP).PSR
  32. TAREXP    = $(LIBOP)\$(APP).EXP
  33. TARLIB    = $(LIBOP)\$(APP).LIB
  34.  
  35. FUNC01    = Plugin
  36. HEADER    = $(SRCS)\INCLUDE\PSRP.H \
  37.       Makefile
  38. OBJLIST    = $(OBJOP)\$(FUNC01).OBJ
  39. LIBLIST    =
  40.  
  41. all: $(TARGET)
  42.  
  43.  
  44. # リンク・ステップ ++++++++++++++++++++++++++++++++++++++++++++++++
  45.  
  46. $(TARGET): $(OBJLIST) $(LIBLIST)
  47.     $(link) $(LKOPT) $(OBJLIST) $(LIBLIST) -out:$(TARGET) /implib:$(TARLIB)
  48.  
  49.  
  50. # コンパイル・ステップ ++++++++++++++++++++++++++++++++++++++++++++
  51.  
  52. $(OBJOP)\$(FUNC01).OBJ:    $(FUNC01).C $(HEADER)
  53.     $(cc) $(CCOPT) $(FUNC01).c
  54.  
  55. # クリーン・ステップ ++++++++++++++++++++++++++++++++++++++++++++++
  56.  
  57. clean:
  58.     del $(TARGET) $(TAREXP) $(TARLIB) $(OBJLIST)
  59.