From 0f08267fa43b3abe9add4ab9ff5822a273fbeba1 Mon Sep 17 00:00:00 2001 From: Damien Date: Tue, 17 Dec 2013 18:33:53 +0000 Subject: [PATCH] unix: include obj.h, and build additional py files. --- unix/Makefile | 5 ++++- unix/main.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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