mirror of
https://github.com/vbatts/bitorchestra.git
synced 2025-08-02 07:30:29 +00:00
making the files write straight to /dev/audio
This commit is contained in:
parent
0a84896c2a
commit
62a82f13c2
9 changed files with 55 additions and 13 deletions
13
Makefile
13
Makefile
|
@ -1,11 +1,14 @@
|
|||
|
||||
FILES := $(basename $(wildcard *.c))
|
||||
MUSIC_FILES := $(basename $(wildcard f*.c))
|
||||
TMP_FILES := $(wildcard *~) $(wildcard *.o)
|
||||
|
||||
all: $(FILES)
|
||||
all: $(MUSIC_FILES)
|
||||
|
||||
%: %.c
|
||||
$(CC) -o $@ $<
|
||||
audio.o: audio.c audio.h
|
||||
|
||||
%: %.c audio.o
|
||||
$(CC) -static -s -o $@ $^
|
||||
|
||||
clean:
|
||||
rm -rf $(FILES) *.o *~
|
||||
rm -rf $(MUSIC_FILES) $(TMP_FILES)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue