| 1 | |
| 2 | TARGETOS=WINNT |
| 3 | |
| 4 | !include <ntwin32.mak> |
| 5 | |
| 6 | # This line allows NMAKE to work as well |
| 7 | |
| 8 | all: gengl.exe |
| 9 | |
| 10 | # Update the object file if necessary |
| 11 | |
| 12 | gengl.obj: gengl.c gengl.h |
| 13 | $(cc) $(cflags) $(cvars) $(cdebug) $(cf) gengl.c |
| 14 | |
| 15 | render.obj: render.c gengl.h |
| 16 | $(cc) $(cflags) $(cvars) $(cdebug) $(cf) render.c |
| 17 | |
| 18 | gengl.res: gengl.rc genglrc.h |
| 19 | rc -r gengl.rc |
| 20 | |
| 21 | gengl.exe: gengl.obj gengl.res render.obj |
| 22 | $(link) $(linkdebug) /NODEFAULTLIB $(guilflags) -out:gengl.exe \ |
| 23 | gengl.obj render.obj gengl.res $(guilibsdll) opengl32.lib glu32.lib |