]> git.sesse.net Git - c64tapwav/blob - Makefile
Move the tap_hdr definition into a separate header file.
[c64tapwav] / Makefile
1 CXXFLAGS=-O2 -ffast-math -g -Wall
2
3 all: synth decode sync level
4
5 %.o: %.cpp
6         $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
7
8 OBJS=decode.o synth.o synth_main.o interpolate.o sync.o level.o
9
10 DEPS=$(OBJS:.o=.d)
11 -include $(DEPS)
12
13 decode: interpolate.o decode.o
14         $(CXX) -o $@ $^ $(LDFLAGS)
15
16 synth: synth.o synth_main.o
17         $(CXX) -o $@ $^ $(LDFLAGS)
18
19 sync: interpolate.o sync.o
20         $(CXX) -o $@ $^ $(LDFLAGS)
21
22 level: level.o
23         $(CXX) -o $@ $^ $(LDFLAGS)
24
25 clean:
26         $(RM) synth decode sync level $(OBJS) $(DEPS)