objects.mk

来自「OPC toolkit freeware to develop opc apps」· MK 代码 · 共 36 行

MK
36
字号
#################################################
#   Objects declarations for a Makefile
#################################################

OBJS = samp_svc$(O) samp_opc$(O) resource$(RES)

#################################################
#   Common targets and rules 
#################################################

all: ntse-lib $(ALLTARG) 

clean-all: clean
	-del $(ALLTARG)

clean:	ntse-clean
	-del $(OBJS) 
	-del samp_svc.map

.cpp$(O):
	$(CC) -c $(CFLAGS) $(INCLUDES) $<

.c$(O):
	$(CC) -c $(CFLAGS) $(INCLUDES) $<

.rc$(RES):
	$(RC) $<

#####################################################
# Dependencies
#####################################################

$(OBJS): samp_svc.h ../ntse/ntse.h

##################################################

⌨️ 快捷键说明

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