aboutsummaryrefslogtreecommitdiffstats
path: root/makefilec
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--makefilec7
-rw-r--r--makefilecpp7
2 files changed, 10 insertions, 4 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
diff --git a/makefilecpp b/makefilecpp
index 7bcb7fa..e3c5892 100644
--- a/makefilecpp
+++ b/makefilecpp
@@ -75,11 +75,11 @@ LD_FLAGS+=$(EXTRA_LD_FLAGS)
.DEFAULT:all
-.PHONY:all clean help ASM SO TAGS WASM JS exe IR WAST A ADBG AST cppcheck
+.PHONY:all clean help ASM SO TAGS WASM JS exe IR WAST A ADBG AST cppcheck DOCKER
all:exe
-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
@@ -203,6 +203,9 @@ rundbg: $(TARGET)-dbg
format:
- clang-format -i $(SRCS) $(HDRS)
+DOCKER: Dockerfile
+ docker buld -t proto ./
+
clean:
- rm -f *.o *.dis *.odbg *.ocov *.js *.ir *~ $(TARGET) $(TARGET).so $(TARGET)-static \
$(TARGET)-dbg $(TARGET).a $(TARGET)-cov *.wasm *.wast $(TARGET).adbg *.ast