makefile.bcc

来自「SPLASH is a c++ class library that imple」· BCC 代码 · 共 39 行

BCC
39
字号
#
#
# Borland c++ Makefile for splash and tests
#
#
CC = bcc32
CCFLAGS = -WX -v -Ic:\bc4\include

#		*Implicit Rules*
.c.obj:
  $(CC) -c $(CCFLAGS) {$< }

.cpp.obj:
  $(CC) $(CCFLAGS) -c {$< }

spltest.exe: tsplash.obj regex.obj
	$(CC) $(CCFLAGS) -c -DTEST spltest.cpp
	$(CC) $(CCFLAGS) spltest.obj tsplash.obj regex.obj

slicetst.exe: slicetst.obj tsplash.obj regex.obj
	$(CC) -c $(CCFLAGS) -DTEST slicetst.cpp
	$(CC) $(CCFLAGS) slicetst.obj tsplash.obj regex.obj

tsplash.obj: splash.cpp regexp.h splash.h
	$(CC) -c $(CCFLAGS) -DTEST splash.cpp
	move splash.obj tsplash.obj

splash.obj: regexp.h splash.h

regex.obj: regex.c
	$(CC) $(CCFLAGS) -c -w-pro regex.c

test: spltest.exe slicetst.exe
	spltest > x1
	diff x1 splash.v
	slicetst > x2
	diff x2 slicetst.v

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?