aboutsummaryrefslogtreecommitdiffstats
path: root/makefilec
diff options
context:
space:
mode:
Diffstat (limited to 'makefilec')
-rw-r--r--makefilec7
1 files changed, 5 insertions, 2 deletions
diff --git a/makefilec b/makefilec
index 2943ae7..d96a2f2 100644
--- a/makefilec
+++ b/makefilec
@@ -75,11 +75,11 @@ LD_FLAGS+=$(EXTRA_LD_FLAGS)
.DEFAULT:all
-.PHONY:all clean help ASM SO TAGS WASM JS IR WAST A ADBG AST cppcheck
+.PHONY:all clean help ASM SO TAGS WASM JS IR WAST A ADBG AST cppcheck DOCKER
all:$(TARGET)
-everything:$(TARGET) A ASM SO $(TARGET)-static $(TARGET)-dbg ADBG TAGS $(TARGET)-cov WASM JS IR WAST AST
+everything:$(TARGET) A ASM SO $(TARGET)-static $(TARGET)-dbg ADBG TAGS $(TARGET)-cov WASM JS IR WAST AST DOCKER
depend:.depend
@@ -198,6 +198,9 @@ rundbg: $(TARGET)-dbg
format:
- clang-format -i $(SRCS) $(HDRS)
+DOCKER: Dockerfile
+ docker build -t proto ./
+
clean:
- rm -f *.o *.s *.odbg *.ocov *.js *.ir *~ $(TARGET) $(TARGET).so $(TARGET)-static \
$(TARGET)-dbg $(TARGET).a $(TARGET)-cov *.wasm *.wast $(TARGET).adbg *.ast