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

📄 custom.mk

📁 Open DMT Client C Source code
💻 MK
字号:
# -----------------------------------------------------------------------------include make/common.mk# -----------------------------------------------------------------------------# -----------------------------------------------------------------------------# --- sample module extensions# 'geofence.c' is a non-scalable example (limited to a very small number of geofence zones)# of how geozone/geofence arrival/departure messaging might be implemented.# This simple module is currently not used here, in favor of the more full-featured example# (geozone.c) found in the "src/modules" directory.#CMODULE_SRC = custom/modules/geofence.cCMODULE_SRC =# --- sample tools extensions# - TODO: need to separate this into linux/cygwin/gumstix#CTOOLS_SRC = custom/linux/gpio.cCTOOLS_SRC = custom/linux/os.c # --- sample dmtp CUSTOM_SRC  = custom/startup.c custom/transport.c custom/log.c custom/gps.c custom/gpsmods.c $(CTOOLS_SRC) $(CMODULE_SRC)CUSTOM_OBJ  = $(CUSTOM_SRC:%.c=$(OBJ_DIR)/%.o)# -----------------------------------------------------------------------------.PHONY : dmtpd_alldmtpd_all: $(MISSING) dmtpd_title dmtpd_exe.PHONY : dmtpd_titledmtpd_title: 	@echo ""	@echo "Making sample DMTP reference implementation ..."# --- create build directory.PHONY : dmtp_dirsdmtp_dirs: $(MISSING)	@echo ""	@echo "Make dmtp object dirs ..."	$(MKDIR) -p $(OBJ_DIR)/custom	$(MKDIR) -p $(OBJ_DIR)/custom/linux	$(MKDIR) -p $(OBJ_DIR)/custom/modules	$(MKDIR) -p $(OBJ_DIR)/dmtp	@echo ""# --- create binary 'dmtpd' client.PHONY : dmtpd_exedmtpd_exe: $(MISSING) dmtp_dirs $(CUSTOM_OBJ)	@echo ""	@echo "Linking 'dmtpd' ..."	$(CC) -o $(OBJ_DIR)/dmtp/dmtpd$(EXE_EXT) $(CFLAGS) $(SOLIBS) $(CUSTOM_OBJ) $(ALIBS)	@echo ""	@echo "Stripping 'dmtpd' ..."	$(STRIP) $(OBJ_DIR)/dmtp/dmtpd$(EXE_EXT)	$(LS) -laF $(OBJ_DIR)/dmtp/dmtpd$(EXE_EXT)	$(CP) $(OBJ_DIR)/dmtp/dmtpd$(EXE_EXT) $(BUILD_DIR)/dmtpd$(EXE_EXT)	@echo "+++++ Created 'dmtpd' ..."	@echo ""

⌨️ 快捷键说明

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