diff options
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 9 |
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 |
44 | else | 44 | else |
45 | SRC += $(wildcard player/*.c) | ||
46 | CFLAGS += -Iplayer | ||
45 | OUTNAME = archos.mod | 47 | OUTNAME = archos.mod |
46 | endif | 48 | endif |
47 | 49 | ||
@@ -77,7 +79,12 @@ clean: | |||
77 | -$(RM) -r $(OBJDIR)/$(DEPS) | 79 | -$(RM) -r $(OBJDIR)/$(DEPS) |
78 | 80 | ||
79 | DEPS:=.deps | 81 | DEPS:=.deps |
80 | DEPDIRS:=$(DEPS) $(DEPS)/recorder | 82 | DEPDIRS:=$(DEPS) |
83 | ifeq ($(TARGET),-DARCHOS_RECORDER) | ||
84 | DEPDIRS += $(DEPS)/recorder | ||
85 | else | ||
86 | DEPDIRS += $(DEPS)/player | ||
87 | endif | ||
81 | 88 | ||
82 | DIRS = $(subst $(DEPS),".",$(DEPDIRS)) | 89 | DIRS = $(subst $(DEPS),".",$(DEPDIRS)) |
83 | 90 | ||