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

16 lines
266 B
Makefile
Raw Normal View History

2011-11-14 15:13:02 +00:00
MUSIC_FILES := $(basename $(wildcard f*.c))
TMP_FILES := $(wildcard *~) $(wildcard *.o)
CFLAGS +=
LDFLAGS += -static -s
all: $(MUSIC_FILES)
2011-11-14 15:13:02 +00:00
audio.o: audio.c audio.h
%: %.c audio.o
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
2011-11-14 15:13:02 +00:00
clean:
rm -rf $(MUSIC_FILES) $(TMP_FILES)
2011-11-14 15:13:02 +00:00