disabled debug mode and added clean target

This commit is contained in:
Daniel Knüttel 2018-10-27 17:19:52 +02:00
parent d472a14f59
commit 24ae0d00db

View File

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