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