]> git.sesse.net Git - c64tapwav/blob - Makefile
50610c3e8092ec8a3ef86b19b82c9fd71b5e35ed
[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)