mirror of
https://github.com/vbatts/bitorchestra.git
synced 2024-11-23 17:15:41 +00:00
16 lines
303 B
Makefile
16 lines
303 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
|
|
sounds.o: sounds.c sounds.h
|
|
|
|
%: %.c audio.o sounds.o
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
|
|
|
clean:
|
|
rm -rf $(MUSIC_FILES) $(TMP_FILES)
|
|
|