diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2021-08-02 21:08:45 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2021-08-02 21:08:45 +0100 |
commit | b269eab4b8159241c0a335cbd76c184e420c38e3 (patch) | |
tree | 148888c89c2e8af04406dc01499c17c418426ded | |
parent | 29ca302e4f395a18568e65d03dbc60914590be6b (diff) | |
download | ttf2f-b269eab4b8159241c0a335cbd76c184e420c38e3.tar.gz ttf2f-b269eab4b8159241c0a335cbd76c184e420c38e3.tar.bz2 |
Convert RISC OS binary to AIF and squeeze it
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -45,5 +45,24 @@ endif include $(NSBUILD)/Makefile.top +ifeq ($(HOST),arm-unknown-riscos) + realoutput := $(OUTPUT) + e1f := ,e1f + ifeq ($(EXEEXT),$(e1f)) + ff8 := ,ff8 + realoutput := $(subst $(EXEEXT),$(ff8),$(OUTPUT)) + + POST_TARGETS := $(realoutput) $(POST_TARGETS) + +$(realoutput): $(OUTPUT) + $(Q)echo " ELF2AIF: $@" + $(Q)$(dir $(CC))elf2aif $(OUTPUT) $@ + $(Q)echo " SQUEEZE: $@" + $(Q)$(dir $(CC))squeeze $@ + endif +endif + +all: $(PRE_TARGETS) $(OUTPUT) $(POST_TARGETS) + # Extra installation rules |