diff options
author | Theron <tspiegl@gmail.com> | 2020-06-28 13:14:03 -0500 |
---|---|---|
committer | Theron <tspiegl@gmail.com> | 2020-06-28 13:14:03 -0500 |
commit | 3a609585bc94c1b9385927374f1b28e63f5d6546 (patch) | |
tree | f417fe51f86b0ffa7e1de8b38bbf166a5ce7b166 /Makefile | |
parent | 0a0191bc7031dc9417818a3c8066ba4c1eacb9d8 (diff) |
broaden use of ARM directory in Makefile to account for other armv7l outputs on ARM32-compatible targetsARM
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,13 @@ CC = gcc CFLAGS = -Wall SOURCES = $(addprefix src/, whatfiles.c attach.c utilities.c hashmap.c strings.c) -ARCH_DIR = $(shell uname -m) + +ARCH = $(shell uname -m) +ifeq ($(findstring arm,$(ARCH)), arm) + ARCH_DIR = arm32 +else + ARCH_DIR = x86_64 +endif all: bin/whatfiles |