mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-11-29 04:21:35 +00:00
[v1.01] Add more x86 archs to Makefile
This commit is contained in:
1 parent
4d8f108222
commit
0db9f1f5c2
1 file changed
+1
-1
@@ -12,7 +12,7 @@ COMMON_HDR = $(SRC_COMMON)ascii.h $(SRC_COMMON)cpu.h $(SRC_COMMON)udev.h $(SRC_C
|
||||
|
||||
ifneq ($(OS),Windows_NT)
|
||||
arch := $(shell uname -m)
|
||||
ifeq ($(arch), $(filter $(arch), x86_64 amd64 i686))
|
||||
ifeq ($(arch), $(filter $(arch), x86_64 amd64 i386 i486 i586 i686))
|
||||
SRC_DIR=src/x86/
|
||||
SOURCE += $(COMMON_SRC) $(SRC_DIR)cpuid.c $(SRC_DIR)apic.c $(SRC_DIR)cpuid_asm.c $(SRC_DIR)uarch.c
|
||||
HEADERS += $(COMMON_HDR) $(SRC_DIR)cpuid.h $(SRC_DIR)apic.h $(SRC_DIR)cpuid_asm.h $(SRC_DIR)uarch.h $(SRC_DIR)freq/freq.h
|
||||
|
||||
Reference in new issue
Block a user