makefile.in

来自「蒙特卡罗模拟光子成像C语言版,代码简洁专业」· IN 代码 · 共 40 行

IN
40
字号
########################################################################
#
# Makefile for modeling programs, requires GNU make
#
########################################################################

# All the action happens in the subdirectories

# Libraries shared between the different tools (static linkage at compile
# time, build but no need to install anything)

LIBDIRS = libmccore libmcparse

# Program directories, main applications

PRGDIRS = tMCimg

# Utilities, useful but not the main show

UTLDIRS = cfg2inp

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

all:
	@for subdir in $(LIBDIRS) $(PRGDIRS) $(UTLDIRS); \
		do make -C $${subdir} all || break; \
		done

clean:
	@for subdir in $(LIBDIRS) $(PRGDIRS) $(UTLDIRS); \
		do make -C $${subdir} clean || break; \
		done

distclean:
	@for subdir in $(LIBDIRS) $(PRGDIRS) $(UTLDIRS); \
		do make -C $${subdir} distclean || break; \
		done
	-/bin/rm config.cache config.h config.log config.status Makefile

⌨️ 快捷键说明

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