mirror of https://github.com/tongzx/nt5src
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.
35 lines
726 B
35 lines
726 B
|
|
#---------------------
|
|
#
|
|
# Macros
|
|
#
|
|
#---------------------
|
|
|
|
|
|
CPP=cl.exe
|
|
CPP_PROJ=/nologo /ML /W3 /Gm /GX /Zi /O2 \
|
|
/D "WIN32" /D"NDEBUG" /D "_CONSOLE" /Fp"mqtrans.pch" /YX /c
|
|
|
|
LINK32=link.exe
|
|
LINK32_FLAGS= kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
|
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
|
odbccp32.lib mqrt.lib xolehlp.lib \
|
|
/nologo /subsystem:console /incremental:no\
|
|
/pdb:"mqtrans.pdb" /debug /machine:$(CPU) /out:"mqtrans.exe"
|
|
|
|
|
|
.cpp{$(CPP_OBJS)}.obj:
|
|
$(CPP) $(CPP_PROJ) $<
|
|
|
|
#----------------------
|
|
#
|
|
# Build Executable
|
|
#
|
|
#----------------------
|
|
|
|
all: mqtrans.exe
|
|
|
|
mqtrans.obj: mqtrans.cpp
|
|
|
|
mqtrans.exe : mqtrans.obj
|
|
$(LINK32) $(LINK32_FLAGS) mqtrans.obj
|