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 | |
parent | 0a0191bc7031dc9417818a3c8066ba4c1eacb9d8 (diff) |
broaden use of ARM directory in Makefile to account for other armv7l outputs on ARM32-compatible targetsARM
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | src/arm32/registers.c (renamed from src/armv7l/registers.c) | 0 | ||||
-rw-r--r-- | whatfiles.geany | 8 |
3 files changed, 11 insertions, 5 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 diff --git a/src/armv7l/registers.c b/src/arm32/registers.c index cc3cdf5..cc3cdf5 100644 --- a/src/armv7l/registers.c +++ b/src/arm32/registers.c diff --git a/whatfiles.geany b/whatfiles.geany index 1810791..4219693 100644 --- a/whatfiles.geany +++ b/whatfiles.geany @@ -28,9 +28,9 @@ long_line_behaviour=1 long_line_column=72 [files] -current_page=13 -FILE_NAME_0=2818;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Farmv7l%2Fregisters.c;0;4 -FILE_NAME_1=704;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Fattach.c;0;4 +current_page=1 +FILE_NAME_0=697;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Farmv7l%2Fregisters.c;0;4 +FILE_NAME_1=567;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Fattach.c;0;4 FILE_NAME_2=0;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Fhashmap.c;0;4 FILE_NAME_3=0;C++;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Fhashmap.h;0;4 FILE_NAME_4=888;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Fstrings.c;0;4 @@ -42,7 +42,7 @@ FILE_NAME_9=0;C++;0;EUTF-8;0;1;0;%2Fusr%2Finclude%2Farm-linux-gnueabihf%2Fsys%2F FILE_NAME_10=0;C++;0;EUTF-8;1;1;0;%2Fusr%2Finclude%2Flinux%2Fptrace.h;0;4 FILE_NAME_11=1732;C++;0;EUTF-8;0;1;0;%2Fusr%2Finclude%2Farm-linux-gnueabihf%2Fsys%2Fuser.h;0;2 FILE_NAME_12=683;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Futilities.c;0;4 -FILE_NAME_13=0;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Fx86_64%2Fregisters.c;0;4 +FILE_NAME_13=783;C;0;EUTF-8;0;1;0;%2Fhome%2Fpi%2Fwhatfiles%2Fsrc%2Fx86_64%2Fregisters.c;0;4 [VTE] last_dir=/home/pi/whatfiles |