makefile.rules

来自「Small Device C Compiler 面向Inter8051」· RULES 代码 · 共 71 行

RULES
71
字号
## Makefile.rules - contains make rules for building# 			sources in each directory## This file is part of the GNU PIC Library.## January, 2004# The GNU PIC Library is maintained by,# 	Vangelis Rokas <vrokas@otenet.gr>## $Id: Makefile.rules,v 1.3 2004/01/16 15:06:34 vrokas Exp $### Mind thatthis makefile is included from the# subdirs, so fix apropriately the pathsinclude ../Makefile.common# The SDCC project directoryPRJDIR	= ../../../..# headers directoryINCDIR	= $(PRJDIR)/device/include# pic16 port specific headersPIC16_INCDIR	= $(INCDIR)/pic16COMPILE_FLAGS	= --pomit-config-words --pomit-ivt --no-peepCOMPILE_FLAGS	+= --nostdincCFLAGS	= -I$(PIC16_INCDIR) $(MODELFLAGS)MM	= -MM# Input# SRC		is the source to compileOFILES	= $(CFILES:.c=.o).c.o:	$(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $<all: make-objectmake-target: make-object$(OFILES): $(CFILES)make-object: $(OFILES)clean-intermediate:	$(RM) -f *.lst *.asm *.dump*	clean: clean-intermediate	$(RM) -f *.oreal-clean: clean	$(RM) -f .dependdep .depend:	rm -f .depend	for temp in $(CFILES); do		\		$(CPP) $(MM) $(CFLAGS) $$temp > .tmpdepend;	\		$(SED) s/.rel/.o/g .tmpdepend >> .depend;	\		$(RM) -f .tmpdepend;	\	done	include .depend

⌨️ 快捷键说明

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