makefile.sco_freebsd

来自「读写DBF文件的库」· SCO_FREEBSD 代码 · 共 38 行

SCO_FREEBSD
38
字号
##################################################################
#  by oldworm
#  oldworm@21cn.com
#  http://yb.nos.com.cn/index.html
#
#  OS = linux --> CCC is g++
#  OS = SCO Open Server --> CCC is CC
#  OS = Free BSD --> CCC is CC
##################################################################
CCC=CC
OBJECTS=dbf.o stdafx.o test_dbf.o xntoy.o main.o
EXE=testdbf
#CFLAGS=-O2 -Wall
CFLAGS=-O2


$(EXE): $(OBJECTS)
	$(CCC) $(CFLAGS) $(OBJECTS) -o $@
	

dbf.o: dbf.h dbf.cpp
	$(CCC) $(CFLAGS) -c dbf.cpp -o $@

stdafx.o: stdafx.h stdafx.cpp
	$(CCC) $(CFLAGS) -c stdafx.cpp -o $@

test_dbf.o: test_dbf.h test_dbf.cpp
	$(CCC) $(CFLAGS) -c test_dbf.cpp -o $@

xntoy.o: xntoy.h xntoy.cpp
	$(CCC) $(CFLAGS) -c xntoy.cpp -o $@

main.o : test_dbf.h stdafx.h xntoy.h main.cpp
	$(CCC) $(CFLAGS) -c main.cpp -o $@

clean:
	rm -r -f $(OBJECTS) $(EXE)

⌨️ 快捷键说明

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