summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5233213..88796be 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
P = nios2sim-ng
VERSION = 0.1
-OBJS = main.o image.o elf.o srec.o
+OBJS = main.o image.o elf.o srec.o nios2.o instruction.o
#OBJS += load_image.o nor_flash.o simulator.o simulator.o niosii.o i_type_handler.o j_type_handler.o \
# r_type_handler.o custom_instr.o io_device.o jtag_uart.o timer.o uart_core.o
DEFS = -DVERSION="\"$(VERSION)\"" -DDEBUG
-CFLAGS += -g -W -Wall $(DEFS)
+CFLAGS += -g -W -Wall -Wno-packed-bitfield-compat $(DEFS)
LDFLAGS += -lelf
all: prepare $(P)