]> Chaos Git - corbenik/corbenik.git/commitdiff
Fix up makefile for sanity's sake
authorchaoskagami <chaos.kagami@gmail.com>
Sat, 9 Jul 2016 00:15:35 +0000 (20:15 -0400)
committerchaoskagami <chaos.kagami@gmail.com>
Sat, 9 Jul 2016 00:15:35 +0000 (20:15 -0400)
Makefile
host/compile_ctr9_io.sh [deleted file]

index 8e250c6e797fd35c60bb90aae6524f6fce233eb8..fd9957ab3314101aaea9f6da4af8e9ed7d1dd885 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ all: hosttools font ctr9io a9lh patch external
 
 .PHONY: ctr9io
 ctr9io:
-       ./host/compile_ctr9_io.sh
+       cd external/libctr9_io && autoreconf -fi && CFLAGS= LDFLAGS= ASFLAGS= ./configure --host arm-none-eabi --prefix=$(shell pwd)/external/libctr9_io/out && make && make install
 
 .PHONY: release
 release:
diff --git a/host/compile_ctr9_io.sh b/host/compile_ctr9_io.sh
deleted file mode 100755 (executable)
index 61a9354..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-unset CFLAGS
-unset LDFLAGS
-unset ASFLAGS
-unset CROSS_CFLAGS
-unset CROSS_LDFLAGS
-unset CROSS_ASFLAGS
-
-cd external/libctr9_io
-git clean -fxd
-autoreconf -fi
-./configure --host arm-none-eabi --prefix=$(pwd)/out
-make
-make install
-cd ../../