📄 makefile
字号:
# 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -