Move FLIF

This commit is contained in:
Ehmry - 2019-02-28 14:07:24 +01:00
parent 7009986ee1
commit 4cd60859f3
4 changed files with 4 additions and 3 deletions

2
.gitmodules vendored
View File

@ -62,7 +62,7 @@
path = libretro/cores/dinothawr/core
url = https://github.com/libretro/Dinothawr
[submodule "lib/FLIF/upstream"]
path = lib/FLIF/upstream
path = lib/libflif/upstream
url = https://github.com:FLIF-hub/FLIF
[submodule "nimble/nim-monero"]
path = nimble/nim-monero

View File

@ -23,6 +23,7 @@ FILES_CPP = \
$(FLIF_SRC_DIR)/common.cpp \
$(FLIF_SRC_DIR)/flif-enc.cpp \
$(FLIF_SRC_DIR)/library/flif-interface.cpp \
$(FLIF_SRC_DIR)/../extern/lodepng.cpp \
CXXFLAGS += -std=gnu++11
CXXFLAGS += -DLODEPNG_NO_COMPILE_PNG -DLODEPNG_NO_COMPILE_DISK
@ -35,9 +36,9 @@ LDFLAGS += `pkg-config --libs $(PKG_CONFIGS)`
: foreach $(FILES_CPP) |> ^ CXX %f^ $(CXX) -c %f -o %o $(CXXFLAGS) |> %b.o {objects}
: {objects} |> ^ LD %o^ $(LD) %f -o %o $(LDFLAGS) |> flif.lib.so
: {objects} |> ^o LD %o^ $(LD) %f -o %o $(LDFLAGS) |> libflif.lib.so
: flif.lib.so |> strip -o %o %f |> $(DEPOT_BIN_DIR)/%d/@(DEPOT_VERSION)/%b {binary}
: libflif.lib.so |> strip -o %o %f |> $(DEPOT_BIN_DIR)/%d/@(DEPOT_VERSION)/%b {binary}
ifdef DEPOT_KEY
: {binary} |> !depot_bin_tarball |> {tarballs}