2008-02-14 06:47:12 +01:00
|
|
|
|
|
|
|
CXXFLAGS=-ggdb
|
|
|
|
|
|
|
|
LIBS=`fltk-config --ldflags`
|
|
|
|
# CXXFLAGS=`fltk-config -cxxflags`
|
|
|
|
|
2008-02-17 00:12:23 +01:00
|
|
|
OBJS=Waveform.o Region.o main.o Peaks.o
|
2008-02-14 06:47:12 +01:00
|
|
|
|
|
|
|
.C.o:
|
|
|
|
$(CXX) $(CXXFLAGS) -c $< -o $@
|
|
|
|
|
2008-02-14 08:40:47 +01:00
|
|
|
test: $(OBJS)
|
2008-02-14 06:47:12 +01:00
|
|
|
$(CXX) $(CXXFLAGS) $(LIBS) $(OBJS) -o $@
|
2008-02-16 04:50:16 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS) test
|
2008-02-17 00:12:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
valgrind:
|
|
|
|
valgrind ./test
|