]> git.sesse.net Git - c64tapwav/blobdiff - Makefile
Merge branch 'master' of /srv/git.sesse.net/www/c64tapwav
[c64tapwav] / Makefile
index fe8c404caf4ef5dbae59c9d9f6c7272fd002cd65..2756d4f74f0f9029a37b7afd5add4a43c6bce767 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CXXFLAGS=--std=gnu++0x -O2 -fno-math-errno -g -Wall
+CXXFLAGS=--std=gnu++0x -O2 -fno-math-errno -march=native -g -Wall
 LDLIBS=-lavcodec -lavformat -lavutil -lswresample
 
 all: synth decode sync cleaner
 LDLIBS=-lavcodec -lavformat -lavutil -lswresample
 
 all: synth decode sync cleaner
@@ -6,12 +6,12 @@ all: synth decode sync cleaner
 %.o: %.cpp
        $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
 
 %.o: %.cpp
        $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
 
-OBJS=decode.o synth.o synth_main.o interpolate.o sync.o level.o
+OBJS=audioreader.o decode.o synth.o synth_main.o interpolate.o sync.o level.o filter.o
 
 DEPS=$(OBJS:.o=.d)
 -include $(DEPS)
 
 
 DEPS=$(OBJS:.o=.d)
 -include $(DEPS)
 
-decode: interpolate.o audioreader.o decode.o level.o
+decode: interpolate.o audioreader.o decode.o level.o filter.o
        $(CXX) -o $@ $^ $(LDLIBS) $(LDFLAGS)
 
 synth: synth.o synth_main.o
        $(CXX) -o $@ $^ $(LDLIBS) $(LDFLAGS)
 
 synth: synth.o synth_main.o