Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

  1. # Some nmake macros for Win32 apps development
  2. !include <ntwin32.mak>
  3. guiiflags = $(lflags) -subsystem:windows -entry:mainCRTStartup
  4. # application specific C defines
  5. cf = -DNT -DWIN -DNOT_IMPLEMENTED -DDATADIR= $(scall) -W3 -DTEXTURE=1
  6. # This line allows NMAKE to work as well
  7. all: backtrac.exe
  8. # Update the object file if necessary
  9. backtrac.obj: backtrac.cxx scene.hxx cbacks.hxx menu.h
  10. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) backtrac.cxx
  11. cbacks.obj: cbacks.cxx cbacks.hxx scene.hxx cbacks.hxx menu.h
  12. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) cbacks.cxx
  13. point.obj: point.cxx point.hxx
  14. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) point.cxx
  15. scene.obj: scene.cxx scene.hxx unitdisk.hxx
  16. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) scene.cxx
  17. unitdisk.obj: unitdisk.cxx unitdisk.hxx
  18. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) unitdisk.cxx
  19. backtrac.res: backtrac.rc
  20. rc -DTEXTURE=1 -r backtrac.rc
  21. backtrac.exe: backtrac.obj cbacks.obj point.obj scene.obj unitdisk.obj backtrac.res
  22. $(link) $(linkdebug) $(guiiflags) -out:backtrac.exe \
  23. backtrac.obj cbacks.obj point.obj scene.obj unitdisk.obj \
  24. backtrac.res \
  25. $(guilibs) opengl32.lib glu32.lib glaux.lib