summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
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