makefile

来自「一个嵌入式操作系统(microwindows)的源代码」· 代码 · 共 55 行

TXT
55
字号
############################################################################### Microwindows template Makefile# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr# Modified for TuxChess, 2002, Steven J. Merrifield##############################################################################include $(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 ($(NANOWM), Y)ifneq ($(ARCH), LINUX-TCC)# If you want to create a library with the objects files, define the name hereLIBNAME =# List of objects to compileOBJS = main.o board.o data.o eval.o search.o images.oTARGET = $(TOP)/bin/tuxchessall: default $(TARGET)endifendif######################### Makefile.rules section #############################include $(TOP)/Makefile.rules######################## Tools targets section ###############################ifeq ($(SHAREDLIBS), Y)$(TOP)/bin/tuxchess: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCNANOXCLIENTLIBS)else$(TOP)/bin/tuxchess: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)endif

⌨️ 快捷键说明

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