summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--unix/Makefile5
-rw-r--r--unix/main.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 5b26282212..8c59b5b3f2 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -2,7 +2,7 @@ PYSRC=../py
BUILD=build
CC = gcc
-CFLAGS = -I. -I$(PYSRC) -Wall -ansi -std=gnu99 -Os #-DNDEBUG
+CFLAGS = -I. -I$(PYSRC) -Wall -Werror -ansi -std=gnu99 -Os #-DNDEBUG
LDFLAGS = -lm
SRC_C = \
@@ -29,6 +29,9 @@ PY_O = \
emitnthumb.o \
emitinlinethumb.o \
runtime.o \
+ map.o \
+ obj.o \
+ builtin.o \
vm.o \
showbc.o \
repl.o \
diff --git a/unix/main.c b/unix/main.c
index faf8e5b276..e5aa9de15b 100644
--- a/unix/main.c
+++ b/unix/main.c
@@ -10,6 +10,7 @@
#include "parse.h"
#include "compile.h"
#include "runtime.h"
+#include "obj.h"
#include "repl.h"
#include <readline/readline.h>