makefile.man

来自「一个语言识别引擎」· MAN 代码 · 共 27 行

MAN
27
字号

# we do not use the standard YARP makefile, to be as clear as possible
# for users looking at this

# replace this with your OS
SYSDIR = linux

# we need ACE
LIBS = -lACE

# we also need libYARP_OS2
LIBS += -L../lib/$(SYSDIR) -lYARP_OS2

CFLAGS = -I../include

TARGETS = $(patsubst %.cpp, %, $(wildcard *.cpp))

CC = g++

%: %.cpp
	$(CC) $(CFLAGS) $< -o $@ $(LIBS)

default: $(TARGETS)

clean:
	rm -f $(TARGETS)

⌨️ 快捷键说明

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