diff --git a/firmware/Makefile b/firmware/Makefile index 6c8cbbde00..7992e20bc0 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -13,7 +13,7 @@ AR = sh-elf-ar AS = sh-elf-as OC = sh-elf-objcopy -INCLUDES=-I. -Icommon +INCLUDES=-I. -Icommon -Idrivers # Pick a target to build for TARGET = -DARCHOS_PLAYER=1 @@ -23,7 +23,7 @@ TARGET = -DARCHOS_PLAYER=1 CFLAGS = -Os -Wall -m1 -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) AFLAGS += -small -relax -SRC := $(wildcard *.c) $(wildcard common/*.c) +SRC := $(wildcard drivers/*.c common/*.c *.c) OBJS := $(SRC:%.c=%.o) %.o: %.s