]> git.sesse.net Git - c64tapwav/blob - Makefile
Add a Makefile rule for decode.
[c64tapwav] / Makefile
1 all: synth decode
2
3 %.o: %.cpp
4         $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
5
6 OBJS=decode.o synth.o synth_main.o
7
8 DEPS=$(OBJS:.o=.d)
9 -include $(DEPS)
10
11 decode: decode.o
12         $(CXX) -o $@ $^ $(LDFLAGS)
13
14 synth: synth.o synth_main.o
15         $(CXX) -o $@ $^ $(LDFLAGS)
16
17 clean:
18         $(RM) synth $(OBJS) $(DEPS)