?? makefile
字號:
# Program: revava - Atmel Dis-Assembler# File: Makefile# Parts of this are Copyright (C) 1997-1999 Uros Platise# The rest of it is Copyright (C) 2001 Daniel J. Winker## This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version 2# of the License, or (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.# The following lines declare compile options. ## Note: -O option cannot be specifed for GNU C++ version 2.7.2.1# due to the internal bug. That is why is not specifed by default. SRC = Avr.C Flash.C IntelHex.C Main.C Object.C Source.C Label.C OBJ = Avr.o Flash.o IntelHex.o Main.o Object.o Source.o Label.o CC = g++ LIBS =# Old testing flags ...# CPPFLAGS= -DAVA_LIB="\"$(AVA_LIB)\"" -Wall \# -fhandle-exceptions -fenum-int-equiv -fnonnull-objects \# -fforce-addr -fthread-jumps -felide-constructors# Add -O option for version 2.8 or more ...# GNU C++ compiler CPPFLAGS= -Wall -fhandle-exceptions -fenum-int-equiv# egcs C++ compiler with debug# CPPFLAGS= -g -O3 -Wall# egcs C++ compiler without debug# CPPFLAGS= -O3 -Wall# Do the stuff as specified above.all: revava revava: $(OBJ) $(CC) -o $@ $(CPPFLAGS) $(OBJ) $(LIBS)make_test_source: Avr.o make_test_source.o $(CC) -o $@ $(CPPFLAGS) Avr.o make_test_source.oAvr.o: Avr.C Avr.h Error.hFlash.o: Flash.C Error.h Flash.hIntelHex.o: IntelHex.C IntelHex.h Error.hMain.o: Main.C Error.h Flash.h Object.hObject.o: Object.C Error.h Flash.h IntelHex.h Object.h Source.hSource.o: Source.C Avr.h Error.h Flash.h Source.hLabel.o: Label.C Avr.h Error.h Label.hclean: rm -f *~ *.o revava make_test_source
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -