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

📄 makefile

📁 microwindow 源代码,嵌入式linux 的图形系统
💻
字号:
############################################################################### Microwindows template Makefile# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr##############################################################################ifndef MW_DIR_SRCMW_DIR_SRC := $(CURDIR)/../..endifMW_DIR_RELATIVE := demos/mwin/include $(MW_DIR_SRC)/Path.rulesinclude $(CONFIG)######################## 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 ($(MICROWIN), Y)ifeq ($(MICROWINDEMO), Y)# If you want to create a library with the objects files, define the name hereLIBNAME =# List of images for the mine demo.MINEIMAGES := \	$(MW_DIR_OBJ)/demos/mwin/mineflag.o \	$(MW_DIR_OBJ)/demos/mwin/mineface.o \	$(MW_DIR_OBJ)/demos/mwin/minefacelost.o \	$(MW_DIR_OBJ)/demos/mwin/minebomb.o \	$(MW_DIR_OBJ)/demos/mwin/minedone.o \	$(MW_DIR_OBJ)/demos/mwin/minehitfalse.oDEMOS = $(MW_DIR_BIN)/mdemo\	$(MW_DIR_BIN)/mterm\	$(MW_DIR_BIN)/malpha\	$(MW_DIR_BIN)/mtest\	$(MW_DIR_BIN)/mtest2\	$(MW_DIR_BIN)/mineifneq ($(ARCH), ELKS)DEMOS += $(MW_DIR_BIN)/muserfdendifall: default $(DEMOS)endifendif######################### Makefile.rules section #############################include $(MW_DIR_SRC)/Makefile.rules######################## Tools targets section ################################ These demos use a hardcoded link line.MWIN_DEMOS_WITH_NONSTANDARD_LINK := \	$(MW_DIR_BIN)/mine# All other demos use a standard link line, that just# links against the Microwindows libraries.MWIN_DEMOS_WITH_STANDARD_LINK := \	$(filter-out $(MWIN_DEMOS_WITH_NONSTANDARD_LINK),$(DEMOS))$(MWIN_DEMOS_WITH_STANDARD_LINK): $(MW_DIR_BIN)/%: $(MW_DIR_OBJ)/demos/mwin/%.o $(MWINLIBS) $(CONFIG)	@echo "Linking $(patsubst $(MW_DIR_BIN)/%,%,$@) ..."	$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(CCMWINLIBS)$(MW_DIR_BIN)/mine: $(MW_DIR_OBJ)/demos/mwin/mine.o $(MINEIMAGES) $(MWINLIBS) $(CONFIG)	@echo "Linking $(patsubst $(MW_DIR_BIN)/%,%,$@) ..."	$(CC) $(CFLAGS) $(LDFLAGS) $< $(MINEIMAGES) -o $@ $(CCMWINLIBS)

⌨️ 快捷键说明

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