📄 makefile
字号:
############################################################################### Microwindows template Makefile# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr##############################################################################ifndef MW_DIR_SRCMW_DIR_SRC := $(CURDIR)/../..endifMW_DIR_RELATIVE := demos/nxkbd/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 objects to compileOBJS := $(MW_DIR_OBJ)/demos/mwdvetest/mwdvetest.oFONTSPATH = $(MW_DIR_BIN)/fontsFONTS = $(FONTSPATH)/truetype/Accidental\ Presidency.ttf \ $(FONTSPATH)/truetype/VAGRounded\ Lt.ttf \ $(FONTSPATH)/truetype/Bitstream\ Cyberbit.ttf CYBERBIT = $(FONTSPATH)/truetype/Cyberbit.ttfDEMOS = $(MW_DIR_BIN)/mwdvetest $(MW_DIR_BIN)/mwdvetest.res $(MW_DIR_BIN)/fonts $(FONTS)all: default $(DEMOS)endifendif######################### Makefile.rules section #############################include $(MW_DIR_SRC)/Makefile.rules######################## Tools targets section ###############################$(MW_DIR_BIN)/mwdvetest: $(OBJS) $(MWINLIBS) $(CONFIG) $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCMWINLIBS)$(MW_DIR_BIN)/mwdvetest.res: ln -s ../demos/mwdvetest/dveres.res $@$(FONTSPATH): (cd $(MW_DIR_BIN) && ln -s ../fonts) $(CYBERBIT): wget ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP && unzip Cyberbit.ZIP wget ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/License.wri mv Cyberbit.ttf License.wri "$(FONTSPATH)/truetype/" rm Cyberbit.ZIP $(FONTS): $(FONTSPATH) $(CYBERBIT) test -L $(FONTSPATH)/truetype/Accidental\ Presidency.ttf || ln -s accid___.ttf $(FONTSPATH)/truetype/Accidental\ Presidency.ttf test -L $(FONTSPATH)/truetype/VAGRounded\ Lt.ttf || ln -s VAGROLN.TTF $(FONTSPATH)/truetype/VAGRounded\ Lt.ttf test -L $(FONTSPATH)/truetype/Bitstream\ Cyberbit.ttf || ln -s Cyberbit.ttf $(FONTSPATH)/truetype/Bitstream\ Cyberbit.ttf
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -