36 lines
726 B
Makefile
36 lines
726 B
Makefile
|
|
||
|
#---------------------
|
||
|
#
|
||
|
# 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
|