CFLAGS = -o

#
#  Target ALL
#
all : debug eng big5 gb dutch german sjis indonesian slovak italiano spanish russian
# all : debug

#
#  Target Remove temporary files
#
temp : 
	rm -rf ./build/ && \
	rm -rf ./debug/ && \
	rm -rf ../prc/
	mkdir build
	mkdir debug
	mkdir ../prc

#
#  Target Clean
#
clean : 
	rm -rf ./build/ && \
	rm -rf ./debug/ && \
	rm -rf ../prc/
	mkdir build
	mkdir debug
	mkdir ../prc

#
#  Rule for building main.c
#
./debug/main.o : main.c
	@echo "Compiling main.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/main.o -c main.c

#
#  Rule for building Menu.c
#
./debug/Menu.o : Menu.c
	@echo "Compiling Menu.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/Menu.o -c Menu.c

#
#  Rule for building frmMain.c
#
./debug/frmMain.o : frmMain.c
	@echo "Compiling frmMain.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmMain.o -c frmMain.c

#
#  Rule for building frmSearch.c
#
./debug/frmSearch.o : frmSearch.c
	@echo "Compiling frmSearch.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmSearch.o -c frmSearch.c

#
#  Rule for building frmAbout.c
#
./debug/frmAbout.o : frmAbout.c
	@echo "Compiling frmAbout.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmAbout.o -c frmAbout.c

#
#  Rule for building frmGoto.c
#
./debug/frmGoto.o : frmGoto.c
	@echo "Compiling frmGoto.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmGoto.o -c frmGoto.c

#
#  Rule for building frmSearchResult.c
#
./debug/frmSearchResult.o : frmSearchResult.c
	@echo "Compiling frmSearchResult.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmSearchResult.o -c frmSearchResult.c

#
#  Rule for building frmBookmark.c
#
./debug/frmBookmark.o : frmBookmark.c
	@echo "Compiling frmBookmark.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmBookmark.o -c frmBookmark.c

#
#  Rule for building frmPref.c
#
./debug/frmPref.o : frmPref.c
	@echo "Compiling frmPref.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmPref.o -c frmPref.c

#
#  Rule for building frmVersionInfo.c
#
./debug/frmVersionInfo.o : frmVersionInfo.c
	@echo "Compiling frmVersionInfo.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmVersionInfo.o -c frmVersionInfo.c

#
#  Rule for building viewer.c
#
./debug/viewer.o : viewer.c
	@echo "Compiling viewer.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/viewer.o -c viewer.c

#
#  Rule for building reader.c
#
./debug/reader.o : reader.c
	@echo "Compiling reader.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/reader.o -c reader.c

#
#  Rule for building history.c
#
./debug/history.o : history.c
	@echo "Compiling history.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/history.o -c history.c

#
#  Rule for building bookmark.c
#
./debug/bookmark.o : bookmark.c
	@echo "Compiling bookmark.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/bookmark.o -c bookmark.c

#
#  Rule for building info.c
#
./debug/info.o : info.c
	@echo "Compiling info.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/info.o -c info.c

#
#  Rule for building decode.c
#
./debug/decode.o : decode.c
	@echo "Compiling decode.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/decode.o -c decode.c

#
#  Rule for building render.c
#
./debug/render.o : render.c
	@echo "Compiling render.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/render.o -c render.c

#
#  Rule for building config.c
#
./debug/config.o : config.c
	@echo "Compiling config.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/config.o -c config.c

#
#  Rule for building database.c
#
./debug/database.o : database.c
	@echo "Compiling database.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/database.o -c database.c

#
#  Rule for building recordReader.c
#
./debug/recordReader.o : recordReader.c
	@echo "Compiling recordReader.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/recordReader.o -c recordReader.c

#
#  Rule for building colorbox.c
#
./debug/colorbox.o : colorbox.c
	@echo "Compiling colorbox.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/colorbox.o -c colorbox.c

#
#  Rule for building frmSelectColor.c
#
./debug/frmSelectColor.o : frmSelectColor.c
	@echo "Compiling frmSelectColor.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmSelectColor.o -c frmSelectColor.c

#
#  Rule for building frmDeleteVer.c
#
./debug/frmDeleteVer.o : frmDeleteVer.c
	@echo "Compiling frmDeleteVer.c..." && \
	m68k-palmos-gcc -palmos3.5 $(CFLAGS) ./debug/frmDeleteVer.o -c frmDeleteVer.c

#
#  Rule for building assembler stub
#
./debug/PalmBible-sections.o : ./debug/PalmBible-sections.s
	@echo "Building Assembler Stub..." && \
	m68k-palmos-gcc $(CFLAGS) ./debug/PalmBible-sections.o -c ./debug/PalmBible-sections.s

#
#  Rule for building linker script
#
./debug/PalmBible-sections.s : PalmBible.def
	@echo "Building Linker Script..." && \
	cd ./debug/ && \
	multigen ../PalmBible.def

#
#  Rule for linking
#
./debug/PalmBible : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/PalmBible-sections.o
	@echo "Linking..." && \
	m68k-palmos-gcc $(CFLAGS) ./debug/PalmBible ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/PalmBible-sections.o ./debug/PalmBible-sections.ld && \
	m68k-palmos-objdump --section-headers ./debug/PalmBible

#
#  Target English
#
eng : ../prc/PalmBible_eng.prc

./debug/bin_eng.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_eng.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./eng && \
	mkdir ./eng && \
	cd .. && \
	cp ./language/eng.txt ./debug/eng/PalmBible_eng.rcp && \
	cat ./PalmBible.rcp >> ./debug/eng/PalmBible_eng.rcp && \
	pilrc -L ENG -q ./debug/eng/PalmBible_eng.rcp ./debug/eng

../prc/PalmBible_eng.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_eng.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_eng.prc..." && \
	cd ./debug/eng && \
	build-prc -o ../../../prc/PalmBible_eng.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Chinese Traditional (big5)
#
big5 : ../prc/PalmBible_big5.prc

./debug/bin_big5.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_big5.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./big5 && \
	mkdir ./big5 && \
	cd .. && \
	cp ./language/big5.txt ./debug/big5/PalmBible_big5.rcp && \
	cat ./PalmBible.rcp >> ./debug/big5/PalmBible_big5.rcp && \
	pilrc -F5 -L BIG5 -q ./debug/big5/PalmBible_big5.rcp ./debug/big5

../prc/PalmBible_big5.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_big5.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_big5.prc..." && \
	cd ./debug/big5 && \
	build-prc -o ../../../prc/PalmBible_big5.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Chinese Simplified (gb)
#
gb : ../prc/PalmBible_gb.prc

./debug/bin_gb.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_gb.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./gb && \
	mkdir ./gb && \
	cd .. && \
	cp ./language/gb.txt ./debug/gb/PalmBible_gb.rcp && \
	cat ./PalmBible.rcp >> ./debug/gb/PalmBible_gb.rcp && \
	pilrc -F5 -L GB -q ./debug/gb/PalmBible_gb.rcp ./debug/gb

../prc/PalmBible_gb.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_gb.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_gb.prc..." && \
	cd ./debug/gb && \
	build-prc -o ../../../prc/PalmBible_gb.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Dutch
#
dutch : ../prc/PalmBible_dutch.prc

./debug/bin_dutch.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_dutch.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./dutch && \
	mkdir ./dutch && \
	cd .. && \
	cp ./language/dutch.txt ./debug/dutch/PalmBible_dutch.rcp && \
	cat ./PalmBible.rcp >> ./debug/dutch/PalmBible_dutch.rcp && \
	pilrc -L DUTCH -q ./debug/dutch/PalmBible_dutch.rcp ./debug/dutch

../prc/PalmBible_dutch.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_dutch.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_dutch.prc..." && \
	cd ./debug/dutch && \
	build-prc -o ../../../prc/PalmBible_dutch.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target German
#
german : ../prc/PalmBible_german.prc

./debug/bin_german.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_german.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./german && \
	mkdir ./german && \
	cd .. && \
	cp ./language/german.txt ./debug/german/PalmBible_german.rcp && \
	cat ./PalmBible.rcp >> ./debug/german/PalmBible_german.rcp && \
	pilrc -L GERMAN -q ./debug/german/PalmBible_german.rcp ./debug/german

../prc/PalmBible_german.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_german.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_german.prc..." && \
	cd ./debug/german && \
	build-prc -o ../../../prc/PalmBible_german.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Japanese (sjis)
#
sjis : ../prc/PalmBible_sjis.prc

./debug/bin_sjis.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_sjis.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./sjis && \
	mkdir ./sjis && \
	cd .. && \
	cp ./language/sjis.txt ./debug/sjis/PalmBible_sjis.rcp && \
	cat ./PalmBible.rcp >> ./debug/sjis/PalmBible_sjis.rcp && \
	pilrc -F5 -L SJIS -q ./debug/sjis/PalmBible_sjis.rcp ./debug/sjis

../prc/PalmBible_sjis.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_sjis.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_sjis.prc..." && \
	cd ./debug/sjis && \
	build-prc -o ../../../prc/PalmBible_sjis.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Indonesian
#
indonesian : ../prc/PalmBible_indonesian.prc

./debug/bin_indonesian.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_indonesian.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./indonesian && \
	mkdir ./indonesian && \
	cd .. && \
	cp ./language/indonesian.txt ./debug/indonesian/PalmBible_indonesian.rcp && \
	cat ./PalmBible.rcp >> ./debug/indonesian/PalmBible_indonesian.rcp && \
	pilrc -L INDONESIAN -q ./debug/indonesian/PalmBible_indonesian.rcp ./debug/indonesian

../prc/PalmBible_indonesian.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_indonesian.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_indonesian.prc..." && \
	cd ./debug/indonesian && \
	build-prc -o ../../../prc/PalmBible_indonesian.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Slovak
#
slovak : ../prc/PalmBible_slovak.prc

./debug/bin_slovak.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_slovak.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./slovak && \
	mkdir ./slovak && \
	cd .. && \
	cp ./language/slovak.txt ./debug/slovak/PalmBible_slovak.rcp && \
	cat ./PalmBible.rcp >> ./debug/slovak/PalmBible_slovak.rcp && \
	pilrc -L SLOVAK -q ./debug/slovak/PalmBible_slovak.rcp ./debug/slovak

../prc/PalmBible_slovak.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_slovak.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_slovak.prc..." && \
	cd ./debug/slovak && \
	build-prc -o ../../../prc/PalmBible_slovak.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Italiano
#
italiano : ../prc/PalmBible_italiano.prc

./debug/bin_italiano.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_italiano.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./italiano && \
	mkdir ./italiano && \
	cd .. && \
	cp ./language/italiano.txt ./debug/italiano/PalmBible_italiano.rcp && \
	cat ./PalmBible.rcp >> ./debug/italiano/PalmBible_italiano.rcp && \
	pilrc -L ITALIANO -q ./debug/italiano/PalmBible_italiano.rcp ./debug/italiano

../prc/PalmBible_italiano.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_italiano.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_italiano.prc..." && \
	cd ./debug/italiano && \
	build-prc -o ../../../prc/PalmBible_italiano.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Spanish
#
spanish : ../prc/PalmBible_spanish.prc

./debug/bin_spanish.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_spanish.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./spanish && \
	mkdir ./spanish && \
	cd .. && \
	cp ./language/spanish.txt ./debug/spanish/PalmBible_spanish.rcp && \
	cat ./PalmBible.rcp >> ./debug/spanish/PalmBible_spanish.rcp && \
	pilrc -L SPANISH -q ./debug/spanish/PalmBible_spanish.rcp ./debug/spanish

../prc/PalmBible_spanish.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_spanish.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_spanish.prc..." && \
	cd ./debug/spanish && \
	build-prc -o ../../../prc/PalmBible_spanish.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Target Russian
#
russian : ../prc/PalmBible_russian.prc

./debug/bin_russian.res : PalmBible.rcp
	@echo "Compiling resource PalmBible_russian.rcp for  ..."
	cd ./debug/ && \
	rm -rf ./russian && \
	mkdir ./russian && \
	cd .. && \
	cp ./language/russian.txt ./debug/russian/PalmBible_russian.rcp && \
	cat ./PalmBible.rcp >> ./debug/russian/PalmBible_russian.rcp && \
	pilrc -L RUSSIAN -F5 -q ./debug/russian/PalmBible_russian.rcp ./debug/russian

../prc/PalmBible_russian.prc : ./debug/main.o ./debug/Menu.o ./debug/frmMain.o ./debug/frmSearch.o ./debug/frmAbout.o ./debug/frmGoto.o ./debug/frmSearchResult.o ./debug/frmBookmark.o ./debug/frmPref.o ./debug/viewer.o ./debug/reader.o ./debug/history.o ./debug/bookmark.o ./debug/info.o ./debug/decode.o ./debug/render.o ./debug/config.o ./debug/database.o ./debug/recordReader.o ./debug/colorbox.o ./debug/frmSelectColor.o ./debug/frmDeleteVer.o ./debug/frmVersionInfo.o  ./debug/bin_russian.res ./debug/PalmBible-sections.o ./debug/PalmBible
	@echo "Building program file PalmBible_russian.prc..." && \
	cd ./debug/russian && \
	build-prc -o ../../../prc/PalmBible_russian.prc ../../PalmBible.def *.bin ../PalmBible

#
#  Rule for debugging PRCFile
#
debug : ./debug/PalmBible.prc

./debug/PalmBible.prc : ../prc/PalmBible_eng.prc
	@echo "Copying PRC for Debugging" && \
	cp ../prc/PalmBible_eng.prc ./debug/PalmBible.prc


