📄 makefile
字号:
# makefile for VTW (win32s) using Borland C++
# This makefile has been tested with Borland C++ V4.5 under Windows NT 3.5
#
# Notes:
# All warnings are enabled. Compilation with warnings is considered to
# be a failure.
# $Id: makefile 2.3 1996/02/04 22:57:14 tsurace Exp $
.autodepend
# ------------------------------------------------------------------------
# Environment and configuration
#
BC_DIR = C:\BC45
BC_BIN = $(BC_DIR)\BIN
# C flags that are common to debug/release builds
BASE_CFLAGS = -3 -W -w
#
CFLAGS=-DNDEBUG -O2 -k- $(BASE_CFLAGS) # Optimized version
TLINKFLAGS=-Tpe -aa -c -Oc
#
#CFLAGS=-v -k $(BASE_CFLAGS) # Debug version
#TLINKFLAGS=-Tpe -aa -c -v -d
#
#CFLAGS=-O2 -k- $(BASE_CFLAGS) # BETA version (with assertions)
#TLINKFLAGS=-Tpe -aa -c -Oc
# ----------------------------------------------------------------------
# Project components
# (You should not have to change this unless you add files, etc.)
#
OBJECTS=vt102em.obj ascscrn.obj keyev.obj global.obj esc_seq.obj \
replace.obj debug.obj
RESOURCES=global.res
LIBS=..\vtlib.lib
# Default rules
.rc.res:
$(BC_BIN)\brcc32.exe -i$(BC_DIR)\include $<
.cpp.obj:
$(BC_BIN)\bcc32.exe -c @&&|
-I$(BC_DIR)\include
$(CFLAGS)
$**
|
# ----------------------------------------------------------------------
# Targets
all: vtw.exe
# Link everything together
vtw.exe: $(OBJECTS) $(RESOURCES) $(LIBS)
$(BC_BIN)\tlink32.exe @&&|
$(TLINKFLAGS) $(BC_DIR)\lib\c0w32+
$(OBJECTS)
vtw.exe
-x
$(LIBS) $(BC_DIR)\lib\import32 $(BC_DIR)\lib\cw32
$(RESOURCES)
|,&&|
EXETYPE WINDOWS
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
|
### EOF ###
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -