?? ose.mak
字號(hào):
# 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 $@
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -