summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-21 14:33:00 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-21 14:33:00 +0000
commit6466b62e5d6c92c640a60dbbd73af7a368018149 (patch)
tree032f55427bf66c406c2b8cc42b8fa15d9d17d555 /apps/Makefile
parente493efd12b0840541be2e98df30597692ab2eb8f (diff)
Added extra source files if compiling recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@644 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index de97bead7b..f535921df5 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -32,7 +32,12 @@ endif
CFLAGS = -O -W -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES)
AFLAGS += -small -relax
-SRC := $(wildcard drivers/*.c common/*.c *.c)
+SRC := $(wildcard *.c)
+
+ifeq ($(TARGET),-DARCHOS_RECORDER)
+ SRC += $(wildcard recorder/*.c)
+endif
+
OBJS := $(SRC:%.c=%.o)
all : archos.mod # archos.asm