aboutsummaryrefslogtreecommitdiffstats
path: root/makefilec
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-08-05 05:14:10 +0000
committerterminaldweller <thabogre@gmail.com>2021-08-05 05:14:10 +0000
commit5f596a3f401a0a40eefcc0f8b6c6b5083748cc1a (patch)
treea892e31077574f1c1a340af257bb6e27ae0ad89c /makefilec
parentupdate for neomutt (diff)
downloadscripts-5f596a3f401a0a40eefcc0f8b6c6b5083748cc1a.tar.gz
scripts-5f596a3f401a0a40eefcc0f8b6c6b5083748cc1a.zip
a lot of updates and fixes
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