This commit is contained in:
2022-03-19 13:03:00 +01:00
parent 4ef6d72b7c
commit 72dfafbc1c
5 changed files with 54 additions and 40 deletions

View File

@@ -1,4 +1,16 @@
all:
gcc -o randMus randMus.c
run:
.DEFAULT_GOAL := all
clean:
rm -f randMus
compile: clean
gcc -o randMus -ggdb randMus.c
run: compile
./randMus | aplay
record: compile
rm -f out.ogg
./randMus|ffmpeg -f u16le -ar 8000 -ac 1 -i - out.ogg
all: compile run