makefile
来自「BREW应用程序界面开发的控件集」· 代码 · 共 70 行
TXT
70 行
# gnu-make makefile for samplelocales
#
.PHONY: all clean
TARGET = samplelocales
MSDEV = cmd /c msdev
CFG = samplelocales - Win32 Debug
ifndef BREWSDK
ifdef BREWDIR
export BREWSDK=$(BREWDIR)
endif
endif
ifndef WIDGETDIR
export WIDGETDIR=../../widgets
endif
ifndef STAGEDIR
export STAGEDIR=../../stage
endif
export SOURCES = $(wildcard src/*.c)
export HEADERS = $(wildcard inc/*.h)
.PHONY: all lib mif clean distclean samplelocales.dll dll
all: emu handset lib
emu: mif dll
handset: mif mod
dll: samplelocales.dll
stage:
@-if ! test -d $(STAGEDIR); \
then mkdir $(STAGEDIR); \
fi
@-if ! test -d $(STAGEDIR)/samplelocales; \
then mkdir $(STAGEDIR)/samplelocales; \
fi
@install mif/samplelocales.mif samplelocales.mod $(STAGEDIR)/samplelocales
clean:
rm -f *~ *.o *.elf *.mod *.lib mif/samplelocales.mif ../samplelocales.mif
(cd mif && $(MAKE) clean)
$(MAKE) -f samplelocales_arm.mak clean
$(MSDEV) samplelocales.dsp /MAKE /CLEAN "$(CFG)"
distclean:
rm -f *.o *.mod *.dll *.lib *.elf
rm -f *.ilk *.exp *.pdb *.plg *.opt *.ncb
rm -rf Debug Release
mif:
(cd mif && $(MAKE))
samplelocales.dll:
$(MSDEV) samplelocales.dsp /MAKE "$(CFG)"
mod:
$(MAKE) -f samplelocales_arm.mak samplelocales.mod
devdist: emu mod
oemdist: emu handset lib
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?