home *** CD-ROM | disk | FTP | other *** search
/ Cutting-Edge 3D Game Programming with C++ / CE3DC++.ISO / TOOLS / MIDIPLYR / MAKEFILE < prev    next >
Encoding:
Text File  |  1995-03-02  |  1002 b   |  38 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. APPVER=4.0
  4.  
  5. !include <win32.mak>
  6.  
  7. all: midipl32.exe
  8.  
  9. LIBS=msacm32.lib vfw32.lib winmm.lib shell32.lib comctl32.lib $(int64lib)
  10.  
  11. OTHERCLOPTS=-DWIN32_LEAN_AND_MEAN -nologo -I. -I..\include
  12. OTHERRCOPTS=-DWIN32_LEAN_AND_MEAN -I. -I..\include
  13.  
  14.  
  15. # Update the resource if necessary
  16.  
  17. midiplyr.res: midiplyr.rc midiplyr.rcv
  18.     $(rc) $(rcflags) $(rcvars) $(OTHERRCOPTS) midiplyr.rc
  19.  
  20.  
  21. # Update the object file if necessary
  22.  
  23. .c.obj:
  24.     $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) $<
  25.  
  26. # Update the executable file if necessary, and if so, add the resource back in.
  27.  
  28. midipl32.exe:   DEBUG.obj    \
  29.                 MAINWND.obj  \
  30.                 MIDIPLYR.obj \
  31.                 SEQUENCE.obj \
  32.                 SMF.obj      \
  33.                 SMFREAD.obj  \
  34.                 TIMEWND.obj  \
  35.                 UIUTILS.obj  \
  36.                 midiplyr.res
  37.     $(link) $(linkdebug) $(guiflags) -out:midipl32.exe $** $(guilibs) $(LIBS)
  38.