-rw-r--r-- | kinsole.mak | 50 |
1 files changed, 43 insertions, 7 deletions
diff --git a/kinsole.mak b/kinsole.mak index b25a32d..9b7eeac 100644 --- a/kinsole.mak +++ b/kinsole.mak @@ -62,13 +62,13 @@ ALL : "$(OUTDIR)\kinsole.exe" "$(OUTDIR)\kinsole.ex_" "$(OUTDIR)\kinsole.hlp"\ CLEAN :
-@erase "$(INTDIR)\kinsole.cn_"
-@erase "$(INTDIR)\kinsole.cnt"
-@erase "$(INTDIR)\kinsole.hl_"
-@erase "$(INTDIR)\kinsole.hlp"
-@erase "$(INTDIR)\KINSole.obj"
- -@erase "$(INTDIR)\KINSole.res"
+ -@erase "$(INTDIR)\kinsole.res"
-@erase "$(OUTDIR)\kinsole.ex_"
-@erase "$(OUTDIR)\kinsole.exe"
-@erase "$(OUTDIR)\kinsole.map"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
@@ -100,13 +100,13 @@ CPP_SBRS=.\. .cxx{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
-RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KINSole.res" /d "NDEBUG"
+RSC_PROJ=/l 0x409 /fo"$(INTDIR)/kinsole.res" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/kinsole.bsc"
BSC32_SBRS= \
@@ -117,13 +117,13 @@ 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 wsock32.lib /nologo /subsystem:console /incremental:no\
/pdb:"$(OUTDIR)/kinsole.pdb" /map:"$(INTDIR)/kinsole.map" /machine:I386\
/out:"$(OUTDIR)/kinsole.exe"
LINK32_OBJS= \
"$(INTDIR)\KINSole.obj" \
- "$(INTDIR)\KINSole.res"
+ "$(INTDIR)\kinsole.res"
"$(OUTDIR)\kinsole.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
@@ -163,13 +163,13 @@ ALL : "$(OUTDIR)\kinsole.exe" "$(OUTDIR)\kinsole.ex_" "$(OUTDIR)\kinsole.hlp"\ CLEAN :
-@erase "$(INTDIR)\kinsole.cn_"
-@erase "$(INTDIR)\kinsole.cnt"
-@erase "$(INTDIR)\kinsole.hl_"
-@erase "$(INTDIR)\kinsole.hlp"
-@erase "$(INTDIR)\KINSole.obj"
- -@erase "$(INTDIR)\KINSole.res"
+ -@erase "$(INTDIR)\kinsole.res"
-@erase "$(INTDIR)\vc40.idb"
-@erase "$(INTDIR)\vc40.pdb"
-@erase "$(OUTDIR)\kinsole.ex_"
-@erase "$(OUTDIR)\kinsole.exe"
-@erase "$(OUTDIR)\kinsole.ilk"
-@erase "$(OUTDIR)\kinsole.pdb"
@@ -204,13 +204,13 @@ CPP_SBRS=.\. .cxx{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
-RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KINSole.res" /d "_DEBUG" /d "_AFXDLL"
+RSC_PROJ=/l 0x409 /fo"$(INTDIR)/kinsole.res" /d "_DEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/kinsole.bsc"
BSC32_SBRS= \
@@ -218,13 +218,13 @@ LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
# ADD LINK32 wsock32.lib /nologo /subsystem:console /debug /machine:I386
LINK32_FLAGS=wsock32.lib /nologo /subsystem:console /incremental:yes\
/pdb:"$(OUTDIR)/kinsole.pdb" /debug /machine:I386 /out:"$(OUTDIR)/kinsole.exe"
LINK32_OBJS= \
"$(INTDIR)\KINSole.obj" \
- "$(INTDIR)\KINSole.res"
+ "$(INTDIR)\kinsole.res"
"$(OUTDIR)\kinsole.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
@@ -420,12 +420,15 @@ LINK32_OBJS= \ !ENDIF
################################################################################
# Begin Source File
SOURCE=.\KINSole.cpp
+
+!IF "$(CFG)" == "KINSole - Win32 Release"
+
DEP_CPP_KINSO=\
".\NAWS.cpp"\
".\NEW-ENVIRON.cpp"\
".\options.cpp"\
".\status.cpp"\
".\terminal.cpp"\
@@ -434,25 +437,58 @@ DEP_CPP_KINSO=\ ".\VT100.cpp"\
"$(INTDIR)\KINSole.obj" : $(SOURCE) $(DEP_CPP_KINSO) "$(INTDIR)"
+!ELSEIF "$(CFG)" == "KINSole - Win32 Debug"
+
+DEP_CPP_KINSO=\
+ ".\NAWS.cpp"\
+ ".\NEW-ENVIRON.cpp"\
+ ".\options.cpp"\
+ ".\status.cpp"\
+ ".\terminal.cpp"\
+ ".\TIMING-MARK.cpp"\
+ ".\TTY.cpp"\
+ ".\VT100.cpp"\
+
+
+"$(INTDIR)\KINSole.obj" : $(SOURCE) $(DEP_CPP_KINSO) "$(INTDIR)"
+
+
+!ENDIF
+
# End Source File
################################################################################
# Begin Source File
SOURCE=.\kinsole.rc
+
+!IF "$(CFG)" == "KINSole - Win32 Release"
+
DEP_RSC_KINSOL=\
".\res\kinsole.ico"\
-"$(INTDIR)\KINSole.res" : $(SOURCE) $(DEP_RSC_KINSOL) "$(INTDIR)"
+"$(INTDIR)\kinsole.res" : $(SOURCE) $(DEP_RSC_KINSOL) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
+!ELSEIF "$(CFG)" == "KINSole - Win32 Debug"
+
+DEP_RSC_KINSOL=\
+ ".\res\kinsole.ico"\
+
+
+"$(INTDIR)\kinsole.res" : $(SOURCE) $(DEP_RSC_KINSOL) "$(INTDIR)"
+ $(RSC) $(RSC_PROJ) $(SOURCE)
+
+
+!ENDIF
+
# End Source File
################################################################################
# Begin Source File
SOURCE=.\VT100.cpp
# PROP Exclude_From_Build 1
|