RandMus/Makefile
2022-04-18 12:40:26 +02:00

16 lines
260 B
Makefile

.DEFAULT_GOAL := all
clean:
rm -f build/*
compile: clean
gcc -o build/randMus -ggdb randMus.c
run: compile
./build/randMus | aplay
record: compile
rm -f out.ogg
./build/randMus|ffmpeg -f u16le -ar 8000 -ac 1 -i - -to 00:05:00 out.ogg
all: compile run