Two tiny tweaks to some arm asm
[kugel-rb.git] / apps / plugins / pacbox / pacbox.make
blobae0147dead6d676ba0462a807e77adeefc0904ef
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 PACBOXSRCDIR := $(APPSDIR)/plugins/pacbox
11 PACBOXBUILDDIR := $(BUILDDIR)/apps/plugins/pacbox
13 ROCKS += $(PACBOXBUILDDIR)/pacbox.rock
15 PACBOX_SRC := $(call preprocess, $(PACBOXSRCDIR)/SOURCES)
16 PACBOX_OBJ := $(call c2obj, $(PACBOX_SRC))
18 # add source files to OTHER_SRC to get automatic dependencies
19 OTHER_SRC += $(PACBOX_SRC)
21 PACBOXFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O2
23 $(PACBOXBUILDDIR)/pacbox.rock: $(PACBOX_OBJ)
25 $(PACBOXBUILDDIR)/%.o: $(PACBOXSRCDIR)/%.c $(PACBOXSRCDIR)/pacbox.make
26 $(SILENT)mkdir -p $(dir $@)
27 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PACBOXFLAGS) -c $< -o $@