mirror of
https://github.com/vbatts/bitorchestra.git
synced 2025-08-02 07:30:29 +00:00
adding notes on using the output, and putting back to stdout, instead of
writing to the /dev/audio
This commit is contained in:
parent
62a82f13c2
commit
ec9844054b
9 changed files with 19 additions and 10 deletions
5
Makefile
5
Makefile
|
@ -1,13 +1,14 @@
|
|||
|
||||
MUSIC_FILES := $(basename $(wildcard f*.c))
|
||||
TMP_FILES := $(wildcard *~) $(wildcard *.o)
|
||||
|
||||
CFLAGS +=
|
||||
LDFLAGS += -static -s
|
||||
all: $(MUSIC_FILES)
|
||||
|
||||
audio.o: audio.c audio.h
|
||||
|
||||
%: %.c audio.o
|
||||
$(CC) -static -s -o $@ $^
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
clean:
|
||||
rm -rf $(MUSIC_FILES) $(TMP_FILES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue