2018-10-27 10:14:57 +00:00
|
|
|
CC=gcc
|
|
|
|
objects= stack.o method_dispatcher/method_dispatcher.o interpreter/core_methods.o interpreter/interpreter.o
|
|
|
|
|
|
|
|
all: $(objects) test
|
|
|
|
|
2018-10-27 15:19:52 +00:00
|
|
|
CFLAG= -c -O -o
|
2018-10-27 10:14:57 +00:00
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) $(CFLAG) $@ $<
|
|
|
|
|
|
|
|
.PHONY: test
|
|
|
|
|
|
|
|
test:
|
|
|
|
cd test && make
|
|
|
|
cd method_dispatcher/test && make
|
|
|
|
cd interpreter/test && make
|
2018-10-27 15:19:52 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
- rm $(objects)
|