X-Git-Url: https://git.sesse.net/?p=c64tapwav;a=blobdiff_plain;f=Makefile;h=ae22aa885a5ef4b75b065ec542dcc4f1d34309e9;hp=51c9c7c913388c5ca8f14fad73db77570e823b0d;hb=1d30a8efc86f778f63662ceae05903e73f3e941b;hpb=3126f15b062dc807bf30b9c752d0ab407d00b072 diff --git a/Makefile b/Makefile index 51c9c7c..ae22aa8 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,23 @@ -CXXFLAGS=-O2 -g -Wall +CXXFLAGS=-O2 -ffast-math -g -Wall -all: synth decode +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 decode $(OBJS) $(DEPS) + $(RM) synth decode sync $(OBJS) $(DEPS)