diff --git a/Makefile b/Makefile index 07d3c87..73f7ffb 100644 --- a/Makefile +++ b/Makefile @@ -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)