⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rules.mk

📁 freetype库的应用demo,里面包含freetype的很多实例
💻 MK
字号:
#**************************************************************************#*#*  Win32 specific rules file, used to compile the Win32 graphics driver#*  to the graphics subsystem#*#**************************************************************************ifeq ($(PLATFORM),win32)  # directory of the Win32 graphics driver  #  GR_WIN32  := $(GRAPH)/win32  # add the Win32 driver object file to the graphics library `graph.lib'  #  GRAPH_OBJS += $(OBJ_DIR)/grwin32.$O  DEVICES += WIN32  # the rule used to compile the graphics driver  #  $(OBJ_DIR)/grwin32.$O: $(GR_WIN32)/grwin32.c $(GR_WIN32)/grwin32.h	  $(CC) $(CFLAGS) $(GRAPH_INCLUDES:%=$I%) \                $I$(subst /,$(COMPILER_SEP),$(GR_WIN32)) \                $T$(subst /,$(COMPILER_SEP),$@ $<)  # now update COMPILE_GRAPH_LIB according to the compiler used on Win32  #  ifeq ($(firstword $(CC)),gcc)   # test for GCC    GRAPH_LINK += -luser32 -lgdi32  endif  ifeq ($(CC),cl)    # test for Visual C++    COMPILE_GRAPH_LIB = lib /nologo /out:$(subst /,$(COMPILER_SEP),$(GRAPH_LIB) $(GRAPH_OBJS))    LINK              = cl /nologo /MD /Fe$(subst /,$(COMPILER_SEP),$@ $< $(FTLIB))    GRAPH_LINK       += user32.lib gdi32.lib  endif  ifeq ($(CC),lcc)   # test for LCC-Win32    COMPILE_GRAPH_LIB = lcclib /out:$(subst /,$(COMPILER_SEP),$(GRAPH_LIB) $(GRAPH_OBJS))    LINK              = lcclnk -o $(subst /,$(COMPILER_SEP),$@ $< $(FTLIB))    GRAPH_LINK       += user32.lib gdi32.lib  endif  ifeq ($(CC),bcc32) # test for Borland C++    COMPILE_GRAPH_LIB = tlib /u $(subst /,$(COMPILER_SEP),$(GRAPH_LIB) $(GRAPH_OBJS:%=+%))    LINK              = bcc32 -e$(subst /,$(COMPILER_SEP),$@ $< $(FTLIB))  endifendif# EOF

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -