aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-09-15 20:03:57 +0800
committerMistivia <i@mistivia.com>2025-09-15 20:03:57 +0800
commit99329b886e8790127600fbd8c6ea876ee8c2cda6 (patch)
treeb09807906573a16cb8d63a6f9062c43536a14074 /Makefile
parent390aa6e04717cb99d4456f72b196b6139564bd13 (diff)
add docker build script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e7c5cc3..95e41c2 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,11 @@ TARGET := ezlive
all: $(TARGET)
+docker: ezlive-docker-image.tar.gz
+
+ezlive-docker-image.tar.gz: all
+ sh ./scripts/build-docker.sh
+
$(TARGET): $(C_OBJS) $(CPP_OBJS)
$(CXX) $(C_OBJS) $(CPP_OBJS) -o $@ $(LDFLAGS)
@@ -28,4 +33,4 @@ $(TARGET): $(C_OBJS) $(CPP_OBJS)
clean:
rm -f $(C_OBJS) $(CPP_OBJS) $(TARGET)
-.PHONY: all clean \ No newline at end of file
+.PHONY: all clean