BCI-dev/interpreter/Makefile

17 lines
296 B
Makefile
Raw Normal View History

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