1 Star 0 Fork 26

caochunchen / MiniGUI

forked from Gitee 极速下载 / MiniGUI 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
GNUmakefile 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
VincentWei 提交于 2020-03-24 20:25 . merge from dev-4-1 for 5.0.0
MAJOR_VERSION = 5
MINOR_VERSION = 0
MICRO_VERSION = 0
EXTRAVERSION =
MINIGUI_RELEASE=$(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)$(EXTRAVERSION)
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)
TOPDIR := $(shell /bin/pwd)
HPATH = $(TOPDIR)/include
HOSTCC = gcc
HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
#
# Include the make variables (CC, etc...)
#
MAKEFILES = $(TOPDIR)/.config
PERL = perl
AWK = gawk
export MAJOR_VERSION MINOR_VERSION MICRO_VERSION EXTRAVERSION MINIGUI_RELEASE \
CONFIG_SHELL TOPDIR HPATH HOSTCC HOSTCFLAGS \
CPP AR NM STRIP OBJCOPY OBJDUMP MAKE MAKEFILES PERL AWK
-include Makefile
.PHONY: doit menuconfig defconfig
doit:
@echo "You may need to run configure script to build Makefile."
menuconfig:
$(MAKE) -C scripts/lxdialog -f makefile.lx all
$(CONFIG_SHELL) scripts/Menuconfig configs/config.in
defconfig:
@cp configs/defconfig .defconfig
$(MAKE) -C scripts/lxdialog -f makefile.lx all
$(CONFIG_SHELL) scripts/Menuconfig configs/config.in
@rm .defconfig
nognu:
$(MAKE) -f makefile.ng
cleanall:
$(MAKE) -f makefile.ng clean
C
1
https://gitee.com/caochunchen/MiniGUI.git
git@gitee.com:caochunchen/MiniGUI.git
caochunchen
MiniGUI
MiniGUI
master

搜索帮助