blob: f71ef2959a91e1ef48a9dd1e8608ebb4a7906b5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
C++ = g++
LD = g++
RM = rm -f
CFLAGS =
LFLAGS =
TARGET = main
SRCS := $(wildcard *.cpp)
OBJS := $(patsubst %.cpp,%.o, $(SRCS))
all: $(TARGET)
%.o: %.cpp
$(C++) -c $(CFLAGS) $< -o $@
$(TARGET): $(OBJS)
$(LD) $^ $(LFLAGS) -o $@
clean:
$(RM) $(TARGET) $(OBJS)
compile_commands:
compiledb make -Bn
original.pcm: original.flac
./any2s16lepcm $< $@
edit.pcm: original.pcm ./main
./main $< $@
edit.wav: edit.pcm
./s16lepcm2any $< $@
edit.png: edit.wav
%.png: %.wav
sox $< -n spectrogram -o $@
|