repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Linux 4.16.11
[linux/fpc-iii.git]
/
samples
/
timers
/
Makefile
blob
f9fa074608029b7efc0e9e8039d751d26f1c95c4
1
# SPDX-License-Identifier: GPL-2.0
2
ifndef
CROSS_COMPILE
3
uname_M
:= $(
shell
uname
-
m
2
>/
dev
/
null || echo not
)
4
ARCH ?
= $(
shell
echo
$(
uname_M
)
| sed
-
e s
/
i
.86
/
x86
/ -
e s
/
x86_64
/
x86
/)
5
6
ifeq
($(
ARCH
),
x86
)
7
CC
:= $(
CROSS_COMPILE
)
gcc
8
PROGS
:=
hpet_example
9
10
all
: $(
PROGS
)
11
12
clean
:
13
rm
-
fr
$(
PROGS
)
14
15
endif
16
endif