mirror of
https://github.com/zeldaret/af.git
synced 2026-09-28 23:00:07 -04:00
380681908d
* Bring over MM's warnings_count system * Generate base warnings * Hook warnings to Jenkins * Fix setup warnings * splat flag * git subrepo pull --force tools/splat subrepo: subdir: "tools/splat" merged: "20922ca" upstream: origin: "git@github.com:ethteck/splat.git" branch: "master" commit: "20922ca" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * update fixed stuff * fix warnings * Fix "F3DEX_GBI_2 redefined" warning * git subrepo pull --force lib/ultralib subrepo: subdir: "lib/ultralib" merged: "d163fa4" upstream: origin: "git@github.com:decompals/ultralib.git" branch: "main" commit: "d163fa4" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * update warning count for lib * restore custom gbi.h
59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
WARNINGS_CHECK ?= 0
|
|
|
|
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
|
|
|
|
|
|
WGET_FLAGS ?=
|
|
ifneq ($(WARNINGS_CHECK), 0)
|
|
WGET_FLAGS += --quiet
|
|
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 $(WGET_FLAGS) 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 $(WGET_FLAGS) 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
|