]> git.sesse.net Git - c64tapwav/blobdiff - Makefile
Add a simple README for license reasons.
[c64tapwav] / Makefile
index 91e6354cfd47e36332ded58869dfb12f082733a6..2756d4f74f0f9029a37b7afd5add4a43c6bce767 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,17 @@
-CXXFLAGS=--std=gnu++0x -O2 -ffast-math -g -Wall
+CXXFLAGS=--std=gnu++0x -O2 -fno-math-errno -march=native -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 $<
 
-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)
 
-decode: interpolate.o audioreader.o decode.o
+decode: interpolate.o audioreader.o decode.o level.o filter.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)