1
0
Fork 0
mirror of https://github.com/vbatts/bitorchestra.git synced 2024-11-23 17:15:41 +00:00
bitorchestra/Makefile

15 lines
266 B
Makefile

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) $(CFLAGS) $(LDFLAGS) -o $@ $^
clean:
rm -rf $(MUSIC_FILES) $(TMP_FILES)