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