makefile
来自「开放源码实时操作系统源码.」· 代码 · 共 60 行
TXT
60 行
##############################################################################
# Microwindows template Makefile
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
##############################################################################
TOP = $(shell pwd)
# See if the user has a local config file. If so use that else
# use the one provided in the distribution.
ifeq ($(HOME)/microwin/config,$(wildcard $(HOME)/microwin/config))
CONFIG = $(HOME)/microwin/config
else
CONFIG = $(TOP)/config
endif
include $(CONFIG)
######################## Additional Flags section ############################
# Directories list for header files
INCLUDEDIRS +=
# Defines for preprocessor
DEFINES +=
# Compilation flags for C files OTHER than include directories
CFLAGS +=
# Preprocessor flags OTHER than defines
CPPFLAGS +=
# Linking flags
LDFLAGS +=
############################# targets section ################################
# If you want to create a library with the objects files, define the name here
LIBNAME =
LIBNAMESO =
# List of objects to compile
OBJS =
# demos should be built after the libs !
dirs = drivers mwin engine fonts nanox
all: default
-$(MAKE) -C demos
ifeq ($(ARCH), ECOS)
$(MAKE) -C ecos
endif
ecos: default
-mkdir -p bin lib
$(MAKE) -C ecos
######################### Makefile.rules section #############################
include $(TOP)/Makefile.rules
######################## Tools targets section ###############################
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?