]> git.sesse.net Git - c64tapwav/blobdiff - Makefile
Remove an unused #include.
[c64tapwav] / Makefile
index 34b617d9da84b370ceec96cdc4c010443dc02007..ae22aa885a5ef4b75b065ec542dcc4f1d34309e9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,23 @@
-all: synth decode
+CXXFLAGS=-O2 -ffast-math -g -Wall
+
+all: synth decode sync
 
 %.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
 
 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)
+
 clean:
-       $(RM) synth $(OBJS) $(DEPS)
+       $(RM) synth decode sync $(OBJS) $(DEPS)