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.

66 lines
2.0 KiB

  1. # Some nmake macros for Win32 apps development
  2. !include <ntwin32.mak>
  3. # application specific C defines
  4. cf = -DNT -DWIN -DNOT_IMPLEMENTED -DDATADIR= $(scall) -W3 -DTEXTURE=1
  5. # This line allows NMAKE to work as well
  6. all: stonehen.exe
  7. # Update the object file if necessary
  8. atmosphe.obj: atmosphe.cxx atmosphe.h
  9. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) atmosphe.cxx
  10. callback.obj: callback.cxx callback.h
  11. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) callback.cxx
  12. ellipse.obj: ellipse.cxx ellipse.h
  13. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) ellipse.cxx
  14. # main.obj: main.cxx
  15. # $(cc) $(cflags) $(cvars) $(cdebug) $(cf) main.cxx
  16. point.obj: point.cxx point.h
  17. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) point.cxx
  18. ring.obj: ring.cxx ring.h
  19. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) ring.cxx
  20. roundwal.obj: roundwal.cxx roundwal.h
  21. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) roundwal.cxx
  22. rgbimage.obj: rgbimage.cxx
  23. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) rgbimage.cxx
  24. scene.obj: scene.cxx scene.h
  25. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) scene.cxx
  26. stone.obj: stone.cxx stone.h
  27. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) stone.cxx
  28. telescop.obj: telescop.cxx telescop.h
  29. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) telescop.cxx
  30. timedate.obj: timedate.cxx timedate.h
  31. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) timedate.cxx
  32. stonehen.obj: stonehen.cxx stonehen.h
  33. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) stonehen.cxx
  34. setpixel.obj: setpixel.cxx setpixel.h
  35. $(cc) $(cflags) $(cvars) $(cdebug) $(cf) setpixel.cxx
  36. stonehen.res: stonehen.rc stonerc.h
  37. rc -DTEXTURE=1 -r stonehen.rc
  38. stonehen.exe: atmosphe.obj ellipse.obj stonehen.obj point.obj ring.obj callback.obj\
  39. roundwal.obj scene.obj stone.obj telescop.obj timedate.obj stonehen.res setpixel.obj rgbimage.obj
  40. $(link) $(linkdebug) /NODEFAULTLIB $(guilflags) -out:stonehen.exe \
  41. atmosphe.obj ellipse.obj point.obj ring.obj stonehen.obj callback.obj\
  42. roundwal.obj scene.obj stone.obj telescop.obj timedate.obj stonehen.res setpixel.obj rgbimage.obj \
  43. $(guilibs) opengl32.lib glu32.lib