Skip to content

Commit a9a5a74

Browse files
committed
fix core makefile for ARM emulation files.
1 parent 2b8bf28 commit a9a5a74

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RM = rm -f
66
# If you want core debug support, add -DDEBUG_SUPPORT
77
# If you want the emulator to run on a different thread than the gui, add -DMULTITHREAD
88
CFLAGS = -Wall -Wextra -fPIC -O3 -std=gnu11 -static
9+
CFLAGS += -Iarm/samd21a/include -Iarm/CMSIS/Core/Include
910

1011
# Add debugging support, with zdis disassembler
1112
#CFLAGS += -DDEBUG_SUPPORT
@@ -19,6 +20,7 @@ CFLAGS = -Wall -Wextra -fPIC -O3 -std=gnu11 -static
1920
rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2)$(filter $(subst *,%,$2),$d))
2021

2122
OBJS = $(patsubst %.c,%.o,$(filter-out arm/%,$(call rwildcard,,*.c)))
23+
OBJS += arm/tinycthread.o arm/arm.o arm/armcpu.o arm/armmem.o arm/spscqueue.o arm/sync.o
2224

2325
STATICLIB = libcemucore.a
2426

0 commit comments

Comments
 (0)