From 8424518ebd00ce0c2f9e5d185f39c2889abab379 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 18 Sep 2017 19:25:15 +0100 Subject: [PATCH] allow CFLAGS override --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0479b49..7f55005 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ all: elf2nso build_pfs0 build_pfs0: build_pfs0.c - gcc -o $@ $^ + gcc $(CFLAGS) -o $@ $^ elf2nso: elf2nso.c sha256.c - gcc -o $@ $^ -llz4 + gcc $(CFLAGS) -o $@ $^ -llz4 install: all cp build_pfs0 /usr/local/bin/