makefile

来自「linux thread programe」· 代码 · 共 54 行

TXT
54
字号
########################################################### An example source module to accompany...## "Using POSIX Threads: Programming with Pthreads"#     by Brad nichols, Dick Buttlar, Jackie Farrell#     O'Reilly & Associates, Inc.############################################################# Makefile## makefile for automated teller machine (ATM) DCE example## Initially setup for a Digital UNIX environment. Use on # other platforms may require changes to LOADLIBS, CLAGS etc.CC = ccCFLAGS = -std1 -gLOADLIBS = -ldce THREADLIBS = -threads# Threaded Sr ObjectsTSSRCS   = atm_svr_dce.o \	   atm_mgr_dce.o \	   atm_dce_db.o \	   atm_svr_password.o \	   atm_dce_interface_sstub.o# Client ObjectsCSRCS    = atm_client_dce.o \	   atm_dce_interface_cstub.oIDEF     = atm_dce_interface.idl$(TSSRCS)  : atm_dce.h makefile atm_dce_db.h atm_svr_password.h interface$(CSRCS)   : atm_dce.h makefile interfaceall        : atm_svr_dce atm_client_dceinterface : $(IDEF)	idl $(IDEF)atm_svr_dce : $(TSSRCS)	${CC} ${CFLAGS} $(TSSRCS) -o atm_svr_dce ${LOADLIBS} ${THREADLIBS}atm_client_dce : $(CSRCS)	${CC} ${CFLAGS} $(CSRCS) -o atm_client_dce ${LOADLIBS} ${THREADLIBS}clean :	rm -f *.o *~ *# core  \	atm_client_dce atm_svr_dce atm_dce_interface.h \	.atm_db .atm_pw 

⌨️ 快捷键说明

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