X-Git-Url: https://git.sesse.net/?p=c64tapwav;a=blobdiff_plain;f=Makefile;h=03d97ff26db0e74b02cfafdebc8d9998673efa9e;hp=51c9c7c913388c5ca8f14fad73db77570e823b0d;hb=af205db54703906ad67adb6393a9df97c96357e8;hpb=3126f15b062dc807bf30b9c752d0ab407d00b072 diff --git a/Makefile b/Makefile index 51c9c7c..03d97ff 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -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 $< @@ -16,5 +16,8 @@ decode: decode.o synth: synth.o synth_main.o $(CXX) -o $@ $^ $(LDFLAGS) +sync: sync.o + $(CXX) -o $@ $^ $(LDFLAGS) + clean: - $(RM) synth decode $(OBJS) $(DEPS) + $(RM) synth decode sync $(OBJS) $(DEPS)