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

📄 vxworks.mak

📁 h.248协议源码
💻 MAK
字号:
# VxWorks definitions
# Note: WIND_BASE must be set correctly in the environment.

# Only GNU is supported for VxWorks
ifneq ($(COMPILER), gnu)
$(error Compiler '$(COMPILER)' not supported for VxWorks. Only 'gnu' is currently supported)
endif

# Check for required definitions
ifndef WIND_BASE
$(error WIND_BASE is not defined. It must be set to the Tornado root directory)
endif

# Add required info to master lists
# MAKE_LIST - List any OS dependent makefiles (inclduing this one)
# INCLUDE_DIRS - List any OS dependent include directories in search order
# LIBS_LIST - List any OS dependent libraries needed to link executables
MAKE_LIST += vxworks.mak
INCLUDE_DIRS += $(WIND_BASE)/target/h
LIBS_LIST += $(TARGET_CPU)$(COMPILER)vx
LIB_DIRS += $(WIND_BASE)/target/lib

# Compiler setup - GNU
CC := cc$(TARGET_FAMILY) -fno-builtin -nostdinc -mcpu=$(COMPILER_CPU) -DCPU=$(TARGET_CPU) -D_GNU_TOOL -D_VXWORKS
INCLUDE_FLAG := -I
C_DEBUGFLAG := -g
C_OPTFLAG := -O2
CFLAGS +=
OBJ_EXTENTION := .o
AR := ar$(TARGET_FAMILY)
ARFLAGS := -rc
LIB_EXTENTION := .a
LINK := cc$(TARGET_FAMILY)
LIBS_FLAG := -l
LIBS_DIRFLAG:= -L
LDFLAGS +=

# Define full .d file generation command since they vary so much. The
# target will be the .d file and the first dependency will be the .c file.
MAKEDEPEND = set -e; $(CC) -M -c $(CFLAGS) $< | \
		sed '1s*^*$*.d $(*D)/*' > $@; \
		[ -s $@ ] || rm -f $@

⌨️ 快捷键说明

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