summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/ay/libay.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/ay/libay.make')
-rwxr-xr-xapps/codecs/libgme/ay/libay.make21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/codecs/libgme/ay/libay.make b/apps/codecs/libgme/ay/libay.make
deleted file mode 100755
index 9ad661986d..0000000000
--- a/apps/codecs/libgme/ay/libay.make
+++ /dev/null
@@ -1,21 +0,0 @@
1
2# libay
3AYLIB := $(CODECDIR)/libay.a
4AYLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libgme/ay/AYSOURCES)
5AYLIB_OBJ := $(call c2obj, $(AYLIB_SRC))
6OTHER_SRC += $(AYLIB_SRC)
7
8$(AYLIB): $(AYLIB_OBJ)
9 $(SILENT)$(shell rm -f $@)
10 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
11
12AYFLAGS = $(filter-out -O%,$(CODECFLAGS)) -fno-strict-aliasing -DGME_AY_TYPE
13ifeq ($(CPU),arm)
14 AYFLAGS += -O1
15else
16 AYFLAGS += -O2
17endif
18
19$(CODECDIR)/libgme/ay/%.o: $(ROOTDIR)/apps/codecs/libgme/%.c
20 $(SILENT)mkdir -p $(dir $@)
21 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(AYFLAGS) -c $< -o $@