diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-19 21:22:41 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-19 21:22:41 +0200 |
commit | 605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa (patch) | |
tree | b3c7a166f33d9d1ff35cbc1ede202dd89903e81e /Makefile | |
parent | 780f056e61323a41abcaf0dd53a44f99bcac197c (diff) | |
download | AGH-engineering-thesis-605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa.tar.gz AGH-engineering-thesis-605ac7f13be9f597d3cf7ab3786b71f5cda8c9fa.zip |
initial work towards translating wasm to stack machine (with a provisional bench)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,8 +1,6 @@ include Makefile.config include Makefile.util - -# Short C programs -TOOLS := VGAdump2ppm +include tools/Makefile.tools TEST_TARGETS := $(addprefix test_,$(shell ls tests)) @@ -55,14 +53,17 @@ quicktest : $(TEST_TARGETS) : test_% : $(MAKE) -C tests/$* + tools : $(TOOLS_TARGETS) -$(TOOLS_TARGETS) : tools/% : tools/%.c - $(CC) $(CFLAGS) $^ -o $@ +$(TOOLS_TARGETS) : tools/% : + $(MAKE) -C tools/ $* + clean : for TEST in tests/*; do $(MAKE) -C $$TEST clean >/dev/null; done - rm $(GENERATED_MEM_FILES) $(TOOLS_TARGETS) 2>/dev/null || true + rm $(GENERATED_MEM_FILES) 2>/dev/null || true + $(MAKE) -C tools/ clean >/dev/null rm $(addprefix design.,v json asc bin) timing.rpt 2>/dev/null || true -.PHONY : all tools test quicktest $(TEST_TARGETS) +.PHONY : all tools test quicktest $(TEST_TARGETS) $(TOOLS_TARGETS) |