⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rules.mk

📁 一个Megaco实现源代码
💻 MK
字号:
#-*-makefile-*-   ; force emacs to enter makefile-mode.SUFFIXES: .erl .jam .beam .yrl .hrl .sgml .html .so .c .flex .flex.src# ----------------------------------------------------#	Erlang language section# ----------------------------------------------------EMULATOR = beamERLC_WFLAGS = -WERLC = erlc $(ERLC_WFLAGS) $(ERLC_FLAGS)ifndef EBINEBIN = ../ebinendififndef ESRCESRC = .endif$(EBIN)/%.beam: $(ESRC)/%.erl	@printf "\n\t"	$(ERLC) -bbeam $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(EBIN) $<.erl.beam:	@printf "\n\t"	$(ERLC) -bbeam $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(dir $@) $<## When .erl files are automatically created GNU make removes them if# they were the result of a chain of implicit rules. To prevent this# we say that all .erl files are "precious".#.PRECIOUS: %.erl## Uncomment these lines and add .idl to suffixes above to have erlc ## eat IDL files##.idl.erl:##      $(ERLC) $(IDL_FLAGS) $<.yrl.erl:	$(ERLC) $(YRL_FLAGS) $<.xrl.erl:	$(ERLC) $(XRL_FLAGS) $<##  generating app files$(EBIN)/%.app: $(ESRC)/%.app.src $(VSN_FILE)	@printf "\n\t"	sed -e 's;%VSN%;$(VSN);' $< > $@$(EBIN)/%.appup: $(ESRC)/%.appup.src $(VSN_FILE)	@printf "\n\t"	sed -e 's;%VSN%;$(VSN);' $< > $@# ----------------------------------------------------#	C language section# ----------------------------------------------------.c.o:	@printf "\n\t$@ <- $<\n\t"	$(CC) $(CFLAGS) $(IFLAGS) -c $<# ----------------------------------------------------#       Command macros# ----------------------------------------------------INSTALL = /usr/ucb/install -cINSTALL_DIR = /usr/ucb/install -c -dINSTALL_PROGRAM = ${INSTALL}INSTALL_DATA = ${INSTALL} -m 644

⌨️ 快捷键说明

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