makefile

来自「it program show how to drive the LCD to 」· 代码 · 共 20 行

TXT
20
字号
# MPLAB IDE generated this makefile for use with GNU make.
# Project: test.mcp
# Date: Mon Jun 16 14:53:52 2008

AS = mpasmwin.exe
CC = mcc18.exe
LD = mplink.exe
AR = mplib.exe
RM = rm

test.cof : t1.o
	$(LD) /l"C:\MCC18\lib" "..\..\..\..\MCC18\lkr\18f4520i.lkr" "t1.o" /u_CRUNTIME /u_DEBUG /o"test.cof" /M"test.map" /W

t1.o : t1.c ../../../../MCC18/h/delays.h ../../../../MCC18/h/timers.h ../../../../MCC18/h/pwm.h t1.c ../../../../MCC18/h/p18f4520.h ../../../../MCC18/h/p18cxxx.h ../../../../MCC18/h/pconfig.h
	$(CC) -p=18F4520 /i"C:\MCC18\h" "t1.c" -fo="t1.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-

clean : 
	$(RM) "t1.o" "test.cof" "test.hex"

⌨️ 快捷键说明

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