windows-nt/Source/XPSP1/NT/multimedia/opengl/test/demos/backtrac/makefile.sdk
2020-09-26 16:20:57 +08:00

40 lines
1.2 KiB
Plaintext

# Some nmake macros for Win32 apps development
!include <ntwin32.mak>
guiiflags = $(lflags) -subsystem:windows -entry:mainCRTStartup
# application specific C defines
cf = -DNT -DWIN -DNOT_IMPLEMENTED -DDATADIR= $(scall) -W3 -DTEXTURE=1
# This line allows NMAKE to work as well
all: backtrac.exe
# Update the object file if necessary
backtrac.obj: backtrac.cxx scene.hxx cbacks.hxx menu.h
$(cc) $(cflags) $(cvars) $(cdebug) $(cf) backtrac.cxx
cbacks.obj: cbacks.cxx cbacks.hxx scene.hxx cbacks.hxx menu.h
$(cc) $(cflags) $(cvars) $(cdebug) $(cf) cbacks.cxx
point.obj: point.cxx point.hxx
$(cc) $(cflags) $(cvars) $(cdebug) $(cf) point.cxx
scene.obj: scene.cxx scene.hxx unitdisk.hxx
$(cc) $(cflags) $(cvars) $(cdebug) $(cf) scene.cxx
unitdisk.obj: unitdisk.cxx unitdisk.hxx
$(cc) $(cflags) $(cvars) $(cdebug) $(cf) unitdisk.cxx
backtrac.res: backtrac.rc
rc -DTEXTURE=1 -r backtrac.rc
backtrac.exe: backtrac.obj cbacks.obj point.obj scene.obj unitdisk.obj backtrac.res
$(link) $(linkdebug) $(guiiflags) -out:backtrac.exe \
backtrac.obj cbacks.obj point.obj scene.obj unitdisk.obj \
backtrac.res \
$(guilibs) opengl32.lib glu32.lib glaux.lib