X-Git-Url: https://git.sesse.net/?p=c64tapwav;a=blobdiff_plain;f=Makefile;h=03d97ff26db0e74b02cfafdebc8d9998673efa9e;hp=34b617d9da84b370ceec96cdc4c010443dc02007;hb=52dc441eb7db99f2231478474f228a62d642eacf;hpb=1501ff12c469c5ac65eeb6c00b08c9646ef11212 diff --git a/Makefile b/Makefile index 34b617d..03d97ff 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -all: synth decode +CXXFLAGS=-O2 -ffast-math -g -Wall + +all: synth decode sync %.o: %.cpp $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $< @@ -14,5 +16,8 @@ decode: decode.o synth: synth.o synth_main.o $(CXX) -o $@ $^ $(LDFLAGS) +sync: sync.o + $(CXX) -o $@ $^ $(LDFLAGS) + clean: - $(RM) synth $(OBJS) $(DEPS) + $(RM) synth decode sync $(OBJS) $(DEPS)