RandMus/Makefile

16 lines
242 B
Makefile
Raw Normal View History

2022-03-19 13:03:00 +01:00
.DEFAULT_GOAL := all
clean:
rm -f randMus
compile: clean
gcc -o randMus -ggdb randMus.c
run: compile
2014-04-03 05:49:39 +02:00
./randMus | aplay
2022-03-19 13:03:00 +01:00
record: compile
rm -f out.ogg
2022-03-19 13:31:11 +01:00
./randMus|ffmpeg -f u16le -ar 8000 -ac 1 -i - -to 00:05:00 out.ogg
2022-03-19 13:03:00 +01:00
all: compile run