16 lines
242 B
Makefile
16 lines
242 B
Makefile
.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 - -to 00:05:00 out.ogg
|
|
|
|
all: compile run |