fixed github actions build

i hate llms so much
This commit is contained in:
2026-05-26 18:38:51 +03:00
parent 58bcb147e4
commit 7abb846a81
2 changed files with 9 additions and 7 deletions
+7 -7
View File
@@ -17,19 +17,19 @@ VERSION ?= $(shell git describe --tags --dirty --always 2>/dev/null)
all: build
build: | $(BUILD_DIR)
build: $(BUILD_DIR)/$(APP)
$(BUILD_DIR)/$(APP): $(SRC) | $(BUILD_DIR)
$(BUILD_DIR)/$(APP): $(SRC) | $(BUILD_DIR)/.dir
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS)
$(BUILD_DIR):
$(BUILD_DIR)/.dir:
mkdir -p $(BUILD_DIR)
touch $@
run: build
./$(BUILD_DIR)/$(APP)
install: | $(BUILD_DIR)
install: build
install -d "$(DESTDIR)$(BINDIR)"
install -m 0755 $(BUILD_DIR)/$(APP) "$(DESTDIR)$(BINDIR)/$(APP)"
@@ -40,11 +40,11 @@ uninstall:
clean:
rm -f $(BUILD_DIR)/$(APP)
dist: | $(BUILD_DIR) $(DIST_DIR)
dist: build
dist: build | $(DIST_DIR)/.dir
tar -C $(BUILD_DIR) -czf $(DIST_DIR)/$(APP)-$(VERSION)-linux-x86_64-gnu.tar.gz $(APP)
$(DIST_DIR):
$(DIST_DIR)/.dir:
mkdir -p $(DIST_DIR)
touch $@
release: clean build dist