disabled debug mode and added clean target

This commit is contained in:
Daniel Knüttel 2018-10-27 17:19:52 +02:00
parent e73d0d9b71
commit b6a3cdcd59
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@ objects= stack.o method_dispatcher/method_dispatcher.o interpreter/core_methods.
all: $(objects) test
CFLAG= -c -DDEBUG -O -o
CFLAG= -c -O -o
%.o: %.c
$(CC) $(CFLAG) $@ $<
@ -14,3 +14,6 @@ test:
cd test && make
cd method_dispatcher/test && make
cd interpreter/test && make
clean:
- rm $(objects)

View File

@ -1,5 +1,5 @@
CC=gcc
CFLAG= -c -g -O -DDEBUG -I ../interpreter -o
CFLAG= -c -g -O -I ../interpreter -o
objects=../interpreter/stack.o \
../interpreter/interpreter/core_methods.o \
../interpreter/interpreter/interpreter.o \