COMPILER_DIR = compiler
RUNTIME_DIR = runtime

all : compile cplibms

.PHONY : compile
compile: 
	$(MAKE) -C $(COMPILER_DIR)
	$(MAKE) -C $(RUNTIME_DIR)
	

.PHONY : cplibms
cplibms:
	cp $(RUNTIME_DIR)/libms* $(COMPILER_DIR)

.PHONY : clean
clean:
	$(MAKE) -C $(COMPILER_DIR) clean
	$(MAKE) -C $(RUNTIME_DIR) clean
