Hi there,
I am using a simple makefile to build a project that needs debugging, but the methods I need to look at are not in the same file as main(). Can some explain to me how to do this, using gdb and make? Here is the makefike:
all: Swara
Swara: swara.o synth.o unit.o sinewave.o
cc -g swara.o synth.o unit.o sinewave.o -o Swara -lstdc++ -lportaudio -lsndfile
swara.o: swara.cpp swara.hpp
cc -g -c swara.cpp swara.hpp -lstdc++
synth.o: synth.cpp synth.hpp
cc -g -c synth.cpp synth.hpp -lportaudio -lsndfile
unit.o: unit.cpp unit.hpp
cc -g -c unit.cpp unit.hpp
sinewave.o: sinewave.cpp sinewave.hpp
cc -g -c sinewave.cpp sinewave.hpp
thanks if you can help!
rich



LinkBack URL
About LinkBacks


