home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
directx
/
mosquito
/
makefile
next >
Wrap
Makefile
|
1997-07-31
|
851b
|
34 lines
!include <win32.mak>
!if "$(nodebug)" == "1"
OBJ_DIR = Retail
!else
OBJ_DIR = Debug
!endif
proj=mosquito
all: mkdir $(OBJ_DIR)\$(proj).exe
$(OBJ_DIR)\$(proj).obj: $(proj).cpp resource.h
$(cc) $(cdebug) $(cflags) -Fo$(OBJ_DIR)\$(proj).obj $(cvars) $(proj).cpp
$(OBJ_DIR)\$(proj).res: $(proj).rc resource.h
rc -r -fo $(OBJ_DIR)\$(proj).res $(proj).rc
$(OBJ_DIR)\$(proj).exe: $(OBJ_DIR)\$(proj).obj $(OBJ_DIR)\$(proj).res
$(link) $(linkdebug) $(guiflags) -out:$(OBJ_DIR)\$(proj).exe \
$(OBJ_DIR)\$(proj).obj $(OBJ_DIR)\$(proj).res \
$(guilibs) ddraw.lib
# Rules for cleaning out those old files
mkdir:
if not exist $(OBJ_DIR)\NUL md $(OBJ_DIR)
# Rules for cleaning out those old files
clean:
-echo y | del Retail
-echo y | del Debug
-rd Retail
-rd Debug