Polish Makefile a bit

This commit is contained in:
kakadu 2020-02-20 15:49:05 +03:00
parent 6dc7471587
commit a6be13ac7e

View file

@ -6,9 +6,9 @@ SHELL := /bin/bash
.PHONY: all regression .PHONY: all regression
all: all:
pushd src && make && popd make -C src
pushd runtime && make && popd make -C runtime
pushd stdlib && make && popd make -C stdlib
STD_FILES=$(shell ls stdlib/*.[oi] stdlib/*.lama runtime/runtime.a runtime/Std.i) STD_FILES=$(shell ls stdlib/*.[oi] stdlib/*.lama runtime/runtime.a runtime/Std.i)
#$(info $(STD_FILES)) #$(info $(STD_FILES))
@ -23,14 +23,14 @@ uninstall:
$(RM) `opam var bin`/$(EXECUTABLE) $(RM) `opam var bin`/$(EXECUTABLE)
regression: regression:
pushd regression && make clean check && popd make clean check -C regression
pushd regression/x86only && make clean check && popd make clean check -C regression/x86only
pushd stdlib/regression && make clean check && popd make clean check -C stdlib/regression
clean: clean:
pushd src && make clean && popd make clean -C src
pushd runtime && make clean && popd make clean -C runtime
pushd stdlib && make clean && popd make clean -C stdlib
pushd regression && make clean && popd make clean -C regression