summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1cb0513..2f05bbb 100644
--- a/Makefile
+++ b/Makefile
@@ -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