]> git.sesse.net Git - c64tapwav/blobdiff - Makefile
Integrate the leveler into decode.
[c64tapwav] / Makefile
index 44e2a5c2a73051cb08c10751ad804e191cca7c83..fe8c404caf4ef5dbae59c9d9f6c7272fd002cd65 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 CXXFLAGS=--std=gnu++0x -O2 -fno-math-errno -g -Wall
 LDLIBS=-lavcodec -lavformat -lavutil -lswresample
 
-all: synth decode sync level cleaner
+all: synth decode sync cleaner
 
 %.o: %.cpp
        $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
@@ -11,7 +11,7 @@ OBJS=decode.o synth.o synth_main.o interpolate.o sync.o level.o
 DEPS=$(OBJS:.o=.d)
 -include $(DEPS)
 
-decode: interpolate.o audioreader.o decode.o
+decode: interpolate.o audioreader.o decode.o level.o
        $(CXX) -o $@ $^ $(LDLIBS) $(LDFLAGS)
 
 synth: synth.o synth_main.o
@@ -20,11 +20,8 @@ synth: synth.o synth_main.o
 sync: interpolate.o sync.o
        $(CXX) -o $@ $^ $(LDFLAGS)
 
-level: level.o
-       $(CXX) -o $@ $^ $(LDFLAGS)
-
 cleaner: cleaner.o
        $(CXX) -o $@ $^ $(LDFLAGS)
 
 clean:
-       $(RM) synth decode sync level cleaner $(OBJS) $(DEPS)
+       $(RM) synth decode sync cleaner $(OBJS) $(DEPS)