From 1501ff12c469c5ac65eeb6c00b08c9646ef11212 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 3 May 2013 23:33:38 +0200 Subject: [PATCH] Add a Makefile rule for decode. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 50610c3..34b617d 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,16 @@ -all: synth +all: synth decode %.o: %.cpp $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $< -OBJS=synth.o synth_main.o +OBJS=decode.o synth.o synth_main.o DEPS=$(OBJS:.o=.d) -include $(DEPS) +decode: decode.o + $(CXX) -o $@ $^ $(LDFLAGS) + synth: synth.o synth_main.o $(CXX) -o $@ $^ $(LDFLAGS) -- 2.39.2