mirror of
https://github.com/zeldaret/af.git
synced 2026-09-28 14:50:04 -04:00
632ff4b2ab
* git subrepo clone (merge) --branch=5da3132606e4fd427a8d72b8428e4f921cd6e56f git@github.com:z64tools/z64compress.git tools/z64compress subrepo: subdir: "tools/z64compress" merged: "5da3132" upstream: origin: "git@github.com:z64tools/z64compress.git" branch: "5da3132606e4fd427a8d72b8428e4f921cd6e56f" commit: "5da3132" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * z64compress_wrapper.py * fixes * dmadata.c * readme * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "01ac556" upstream: origin: "git@github.com:ethteck/splat.git" branch: "master" commit: "01ac556" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * segment_end_before_align: True * Add compressed step to jenkinsfile * TODO * format * remove from boot_variables.h * simplify * Change makefile to match MM
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
UNAME_S := $(shell uname -s)
|
|
ifeq ($(OS),Windows_NT)
|
|
DETECTED_OS := windows
|
|
DOWNLOAD_OS := windows-latest
|
|
else ifeq ($(UNAME_S),Linux)
|
|
DETECTED_OS := linux
|
|
DOWNLOAD_OS := ubuntu-20.04
|
|
else ifeq ($(UNAME_S),Darwin)
|
|
DETECTED_OS := macos
|
|
DOWNLOAD_OS := macos-latest
|
|
endif
|
|
|
|
|
|
IDO_5_3_DIR := ido/$(DETECTED_OS)/5.3
|
|
IDO_5_3 := $(IDO_5_3_DIR)/cc
|
|
|
|
IDO_7_1_DIR := ido/$(DETECTED_OS)/7.1
|
|
IDO_7_1 := $(IDO_7_1_DIR)/cc
|
|
|
|
all: $(IDO_5_3) $(IDO_7_1)
|
|
$(MAKE) -C fado
|
|
$(MAKE) -C z64compress
|
|
|
|
clean:
|
|
$(RM) -rf $(IDO_5_3_DIR) $(IDO_7_1_DIR)
|
|
|
|
distclean: clean
|
|
$(RM) -rf ido
|
|
|
|
.PHONY: all clean distclean
|
|
|
|
|
|
$(IDO_5_3): | $(IDO_5_3_DIR)
|
|
wget https://github.com/decompals/ido-static-recomp/releases/latest/download/ido-5.3-recomp-$(DOWNLOAD_OS).tar.gz
|
|
tar xf ido-5.3-recomp-$(DOWNLOAD_OS).tar.gz -C $(IDO_5_3_DIR)
|
|
$(RM) ido-5.3-recomp-$(DOWNLOAD_OS).tar.gz
|
|
|
|
$(IDO_7_1): | $(IDO_7_1_DIR)
|
|
wget https://github.com/decompals/ido-static-recomp/releases/latest/download/ido-7.1-recomp-$(DOWNLOAD_OS).tar.gz
|
|
tar xf ido-7.1-recomp-$(DOWNLOAD_OS).tar.gz -C $(IDO_7_1_DIR)
|
|
$(RM) ido-7.1-recomp-$(DOWNLOAD_OS).tar.gz
|
|
|
|
$(IDO_5_3_DIR):
|
|
mkdir -p $@
|
|
|
|
$(IDO_7_1_DIR):
|
|
mkdir -p $@
|
|
|
|
distclean: clean
|