diff options
-rw-r--r-- | firmware/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 4e4b25efc3..6c8cbbde00 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
@@ -13,7 +13,7 @@ AR = sh-elf-ar | |||
13 | AS = sh-elf-as | 13 | AS = sh-elf-as |
14 | OC = sh-elf-objcopy | 14 | OC = sh-elf-objcopy |
15 | 15 | ||
16 | INCLUDES=-I. | 16 | INCLUDES=-I. -Icommon |
17 | 17 | ||
18 | # Pick a target to build for | 18 | # Pick a target to build for |
19 | TARGET = -DARCHOS_PLAYER=1 | 19 | TARGET = -DARCHOS_PLAYER=1 |
@@ -23,7 +23,7 @@ TARGET = -DARCHOS_PLAYER=1 | |||
23 | CFLAGS = -Os -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) | 23 | CFLAGS = -Os -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) |
24 | AFLAGS += -small -relax | 24 | AFLAGS += -small -relax |
25 | 25 | ||
26 | SRC := $(wildcard *.c) | 26 | SRC := $(wildcard *.c) $(wildcard common/*.c) |
27 | OBJS := $(SRC:%.c=%.o) | 27 | OBJS := $(SRC:%.c=%.o) |
28 | 28 | ||
29 | %.o: %.s | 29 | %.o: %.s |