1
0
Fork 0
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:
Vincent Batts 2012-09-17 09:19:05 -04:00
parent 0a84896c2a
commit 62a82f13c2
9 changed files with 55 additions and 13 deletions

View file

@ -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)