📄 makefile.rules
字号:
## 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -