projects
/
c64tapwav
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some compatibility issues in level.cpp, and possibly also a tiny accuracy improve...
[c64tapwav]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
34b617d
..
a4eaae9
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,18
+1,29
@@
-all: synth decode
+CXXFLAGS=--std=gnu++0x -O2 -ffast-math -g -Wall
+
+all: synth decode sync level cleaner
%.o: %.cpp
$(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
%.o: %.cpp
$(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
-OBJS=decode.o synth.o synth_main.o
+OBJS=decode.o synth.o synth_main.o
interpolate.o sync.o level.o
DEPS=$(OBJS:.o=.d)
-include $(DEPS)
DEPS=$(OBJS:.o=.d)
-include $(DEPS)
-decode: decode.o
+decode:
interpolate.o
decode.o
$(CXX) -o $@ $^ $(LDFLAGS)
synth: synth.o synth_main.o
$(CXX) -o $@ $^ $(LDFLAGS)
$(CXX) -o $@ $^ $(LDFLAGS)
synth: synth.o synth_main.o
$(CXX) -o $@ $^ $(LDFLAGS)
+sync: interpolate.o sync.o
+ $(CXX) -o $@ $^ $(LDFLAGS)
+
+level: level.o
+ $(CXX) -o $@ $^ $(LDFLAGS)
+
+cleaner: cleaner.o
+ $(CXX) -o $@ $^ $(LDFLAGS)
+
clean:
clean:
- $(RM) synth $(OBJS) $(DEPS)
+ $(RM) synth
decode sync level cleaner
$(OBJS) $(DEPS)