summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 07b093eb40..a501bb2747 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -42,6 +42,8 @@ ifeq ($(TARGET),-DARCHOS_RECORDER)
42 CFLAGS += -Irecorder 42 CFLAGS += -Irecorder
43 OUTNAME = ajbrec.ajz 43 OUTNAME = ajbrec.ajz
44else 44else
45 SRC += $(wildcard player/*.c)
46 CFLAGS += -Iplayer
45 OUTNAME = archos.mod 47 OUTNAME = archos.mod
46endif 48endif
47 49
@@ -77,7 +79,12 @@ clean:
77 -$(RM) -r $(OBJDIR)/$(DEPS) 79 -$(RM) -r $(OBJDIR)/$(DEPS)
78 80
79DEPS:=.deps 81DEPS:=.deps
80DEPDIRS:=$(DEPS) $(DEPS)/recorder 82DEPDIRS:=$(DEPS)
83ifeq ($(TARGET),-DARCHOS_RECORDER)
84DEPDIRS += $(DEPS)/recorder
85else
86DEPDIRS += $(DEPS)/player
87endif
81 88
82DIRS = $(subst $(DEPS),".",$(DEPDIRS)) 89DIRS = $(subst $(DEPS),".",$(DEPDIRS))
83 90