📄 makefile
字号:
################################################################################ MW Objects Makefile## (c) Chris Johns 2000###############################################################################ifndef MW_DIR_SRCMW_DIR_SRC := $(CURDIR)/../..endifMW_DIR_RELATIVE := demos/mwobjects/include $(MW_DIR_SRC)/Path.rulesinclude $(CONFIG)# Do nothing for RTEMS ifneq ($(ARCH), RTEMS)######################## Additional Flags section ############################# Directories list for header filesINCLUDEDIRS +=# Defines for preprocessorDEFINES +=# Compilation flags for C files OTHER than include directoriesCFLAGS +=# Preprocessor flags OTHER than definesCPPFLAGS +=# Linking flagsLDFLAGS +=############################# targets section ################################ifeq ($(OBJFRAMEWORK), Y)all: default $(MW_DIR_BIN)/mwo-testendif######################### Makefile.rules section #############################include $(MW_DIR_SRC)/Makefile.rules######################## Tools targets section ###############################CCMWINLIBS = -lmwobjects -lmwin -lmwimages -lm$(MW_DIR_BIN)/mwo-test: $(MW_DIR_OBJ)/demos/mwobjects/mwo-test.o @echo "Linking $(patsubst $(MW_DIR_BIN)/%,%,$@) ..." $(CXX) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(CCMWINLIBS)endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -