From: Steinar H. Gunderson Date: Fri, 3 May 2013 21:33:38 +0000 (+0200) Subject: Add a Makefile rule for decode. X-Git-Url: https://git.sesse.net/?p=c64tapwav;a=commitdiff_plain;h=1501ff12c469c5ac65eeb6c00b08c9646ef11212 Add a Makefile rule for decode. --- 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)