]> git.sesse.net Git - c64tapwav/blobdiff - Makefile
Fix some compatibility issues in level.cpp, and possibly also a tiny accuracy improve...
[c64tapwav] / Makefile
index 51c9c7c913388c5ca8f14fad73db77570e823b0d..a4eaae96daf6f4d9793bbb2eb095c31283718d22 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,29 @@
-CXXFLAGS=-O2 -g -Wall
+CXXFLAGS=--std=gnu++0x -O2 -ffast-math -g -Wall
 
-all: synth decode
+all: synth decode sync level cleaner
 
 %.o: %.cpp
        $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
 
-OBJS=decode.o synth.o synth_main.o
+OBJS=decode.o synth.o synth_main.o interpolate.o sync.o level.o
 
 DEPS=$(OBJS:.o=.d)
 -include $(DEPS)
 
-decode: decode.o
+decode: interpolate.o decode.o
        $(CXX) -o $@ $^ $(LDFLAGS)
 
 synth: synth.o synth_main.o
        $(CXX) -o $@ $^ $(LDFLAGS)
 
+sync: interpolate.o sync.o
+       $(CXX) -o $@ $^ $(LDFLAGS)
+
+level: level.o
+       $(CXX) -o $@ $^ $(LDFLAGS)
+
+cleaner: cleaner.o
+       $(CXX) -o $@ $^ $(LDFLAGS)
+
 clean:
-       $(RM) synth decode $(OBJS) $(DEPS)
+       $(RM) synth decode sync level cleaner $(OBJS) $(DEPS)