makefile

来自「神龙卡开发原代码」· 代码 · 共 65 行

TXT
65
字号
############################################################################### Microwindows template Makefile# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr##############################################################################ifndef TOPTOP = ../..CONFIG = $(TOP)/configendifinclude $(CONFIG)#all: $(TOP)/bin/convbmp#HOSTCC=gcc#HOSTCFLAGS=-I../../include######################## 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)# If you want to create a library with the objects files, define the name hereLIBNAME = libmwimages.aLIBNAMESO = libmwimages.so# List of objects to compileOBJS = car8.o min4.o max4.o close4.o under4.o\	zion208.o cs1.o rle8.o microwin.o penguin.oall: $(TOP)/bin/convbmp $(TOP)/bin/makebmp defaultconvbmp: convbmp.c	$(HOSTCC) $(HOSTCFLAGS) $< -o $@endif######################### Makefile.rules section #############################include $(TOP)/Makefile.rules######################## Tools targets section ###############################realclean: clean	$(RM) car8.c min4.c max4.c close4.c under4.c zion208.c cs1.c rle8.c \	microwin.c penguin.c$(TOP)/bin/convbmp: convbmp.c	$(HOSTCC) $(HOSTCFLAGS) $< -o $@$(TOP)/bin/makebmp: makebmp.c	$(HOSTCC) $(HOSTCFLAGS) $< -o $@

⌨️ 快捷键说明

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