Kaynağa Gözat

Adding the gplib dependency tracking

master
Ludovic 'Archivist' Lagouardette 4 yıl önce
ebeveyn
işleme
499d78d150
1 değiştirilmiş dosya ile 11 ekleme ve 2 silme
  1. +11
    -2
      Makefile

+ 11
- 2
Makefile Dosyayı Görüntüle

@ -29,7 +29,8 @@ OBJECTS := $(SRC:%=$(OBJ_DIR)/%.o)
DEPS := .deps/spdlog \
.deps/spdlog_sqlite \
.deps/sqlite3 \
.deps/jinx
.deps/jinx \
.deps/gplib
#####################
# COMPILATION MODES #
#####################
@ -67,6 +68,7 @@ SQLITE_SPDLOG_URL := https://raw.githubusercontent.com/PedroRod/sqlite_sink/mas
SQLITE_VERSION_STR := sqlite-amalgamation-3320300
SQLITE_URL := https://www.sqlite.org/2020/$(SQLITE_VERSION_STR).zip
SPDLOG_URL := https://github.com/gabime/spdlog
GPLIB_URL := https://git.nekoit.xyz/Archivist/gplib
deps: $(DEPS)
@ -92,6 +94,13 @@ deps: $(DEPS)
.deps/spdlog_sqlite: $(INCLUDE_DEPS)/sqlite_sink.h
@mkdir -p $(@D)
echo $(SQLITE_SPDLOG_URL) > $@
.deps/gplib:
@mkdir -p $(@D)
@rm -rf /tmp/gplib
cd /tmp; git clone --quiet --depth=1 $(GPLIB_URL)
cp -r /tmp/gplib/include/gp $(INCLUDE_DEPS)/gp
echo $(JINX_URL) > $@
################################
# DEPENDENCIES IMPLEMENTATIONS #
@ -151,4 +160,4 @@ deps_clean:
-@rm -rvf include_deps/*
-@rm -rvf src_deps/*
-@rm -rvf $(DEPS_DIR)/*
-@rm -rvf .deps/*
-@rm -rvf .deps/*

Yükleniyor…
İptal
Kaydet