]> git.sesse.net Git - c64tapwav/blobdiff - Makefile
Add table-based lookups for the Lanczos interpolation, and use that in the syncer.
[c64tapwav] / Makefile
index 50610c3e8092ec8a3ef86b19b82c9fd71b5e35ed..ae22aa885a5ef4b75b065ec542dcc4f1d34309e9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,23 @@
-all: synth
+CXXFLAGS=-O2 -ffast-math -g -Wall
+
+all: synth decode sync
 
 %.o: %.cpp
        $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
 
-OBJS=synth.o synth_main.o
+OBJS=decode.o synth.o synth_main.o interpolate.o sync.o
 
 DEPS=$(OBJS:.o=.d)
 -include $(DEPS)
 
+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)
+
 clean:
-       $(RM) synth $(OBJS) $(DEPS)
+       $(RM) synth decode sync $(OBJS) $(DEPS)