## Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).# All rights reserved.## This program is free software: you can redistribute it and/or modify# it under the terms of the GNU Lesser General Public License as published by# the Free Software Foundation, either version 3 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 Lesser General Public License for more details.# # You should have received a copy of the GNU Lesser General Public License# along with this program. If not, see <http://www.gnu.org/licenses/>.CC=g++CFLAGS=-Wall -O3 -g3CPPFLAGS=-I. -I.. -I$/include/boostBASE_CFLAGS=LDFLAGS=-g -L$(MINGW_HOME)/local/libLIBS=-lelf -lboost_program_options -lboost_regex -lboost_filesystemELF4ROM=elf4rom.exeOBJS=dwarfabbrevmanager.oOBJS+=dwarfarangesmanager.oOBJS+=dwarfframemanager.oOBJS+=dwarfinfomanager.oOBJS+=dwarflinemanager.oOBJS+=dwarflocexpr.oOBJS+=dwarflocmanager.oOBJS+=dwarfmanager.oOBJS+=dwarfnamemanager.oOBJS+=dwarfrangesmanager.oOBJS+=dwarfutils.oOBJS+=e32romimage.oOBJS+=elfheader.oOBJS+=elfphdr.oOBJS+=elfrom.oOBJS+=elfromerror.oOBJS+=elfsection.oOBJS+=elfsectionmanager.oOBJS+=elfstringtable.oOBJS+=elfsymboltablemanager.oOBJS+=filefragment.oOBJS+=inputfile.oOBJS+=main.oOBJS+=outputfile.oOBJS+=processoptions.o%.o: %.cpp $(CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -c -o $@ $<$(ELF4ROM): $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)clean: rm -f $(OBJS) $(ELF4ROM)