home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winbase
/
io
/
winnt
/
unbufcpy
/
makefile
next >
Wrap
Makefile
|
1997-10-15
|
442b
|
22 lines
# Nmake macros for building Windows 32-Bit apps
TARGETOS=WINNT
!include <ntwin32.mak>
!if "$(CPU)" == "i386"
cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
!else
cflags = $(cflags) -D_CRTAPI1= -D_CRTAPI2=
!endif
ALLEXES = unbufcp1.exe unbufcp2.exe
all: $(ALLEXES)
.c.obj:
$(cc) $(cdebug) $(cflags) $(cvars) $*.c
$(ALLEXES): $*.obj
$(link) $(ldebug) $(conflags) -out:$*.exe $*.obj user32.lib $(conlibs)