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

📄 ose.mak

📁 h.248协议源码
💻 MAK
字号:
# OSE and compiler definitions
# Currently only supports Greenhills compiler

# Only DIAB is supported for pSOS
ifneq ($(COMPILER), ghs)
$(error Compiler '$(COMPILER)' not supported for OSE. Only 'ghs' (GreenHills) is currently supported)
endif

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

# Indicate if executable targets can be built for this OS via these makefiles
# Set to yes if they can be built, no if they can't.
BUILD_EXECUTABLE := no

# Extention to target name for executable (ie .exe for Windows)
EXECUTE_EXTENTION :=

# 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 += ose.mak
INCLUDE_DIRS += $(OSE_ROOT)/$(TARGET_CPU)/include $(OSE_ROOT)/$(dir $(TARGET_CPU))include
LIBS_LIST +=
LIB_DIRS +=

# Compiler setup - Greenhills only
CC := cc$(TARGET_FAMILY) -cpu=$(COMPILER_CPU) -D_OSE -DOSE_DELTA -ansi -wantprototype
INCLUDE_FLAG := -I
C_DEBUGFLAG := -G -DOS_DEBUG -DUSE_DEBUG_PRINTF
C_OPTFLAG := -O
CFLAGS +=
OBJ_EXTENTION := .o
AR := ax
ARFLAGS := rc
LIB_EXTENTION := .a
LINK := cc$(TARGET_FAMILY) -cpu=(COMPILER_CPU)
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) -H -P --brief_diagnostics $(CFLAGS) "$<" -o $*.t 2>&1 | \
		grep -v "line " | grep -v "WARNING" | sort -u | \
		sed 's*^*$*.o $@: *' > $@; \
		rm -f $*.t; [ -e $@ ] || rm -f $@

⌨️ 快捷键说明

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