X-Git-Url: https://git.sesse.net/?p=c64tapwav;a=blobdiff_plain;f=Makefile;fp=Makefile;h=a5c7b66a79a7be95bd37f8378226f1af6f5fd8cc;hp=ae22aa885a5ef4b75b065ec542dcc4f1d34309e9;hb=8d7d0c656008d93b3bf5368863e42720e3753999;hpb=1d30a8efc86f778f63662ceae05903e73f3e941b diff --git a/Makefile b/Makefile index ae22aa8..a5c7b66 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ CXXFLAGS=-O2 -ffast-math -g -Wall -all: synth decode sync +all: synth decode sync level %.o: %.cpp $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $< -OBJS=decode.o synth.o synth_main.o interpolate.o sync.o +OBJS=decode.o synth.o synth_main.o interpolate.o sync.o level.o DEPS=$(OBJS:.o=.d) -include $(DEPS) @@ -19,5 +19,8 @@ synth: synth.o synth_main.o sync: interpolate.o sync.o $(CXX) -o $@ $^ $(LDFLAGS) +level: level.o + $(CXX) -o $@ $^ $(LDFLAGS) + clean: - $(RM) synth decode sync $(OBJS) $(DEPS) + $(RM) synth decode sync level $(OBJS) $(DEPS)