mirror of
https://github.com/linux-msm/debugcc.git
synced 2026-02-25 13:12:32 -08:00
The common boiler plate code provides the means for measuring clocks using the debugcc feature on various Qualcomm platforms. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
17 lines
223 B
Makefile
17 lines
223 B
Makefile
OUT := debugcc
|
|
|
|
CC=aarch64-linux-gnu-gcc
|
|
|
|
CFLAGS := -O2 -Wall -g
|
|
LDFLAGS :=
|
|
prefix := /usr/local
|
|
|
|
SRCS := debugcc.c
|
|
OBJS := $(SRCS:.c=.o)
|
|
|
|
$(OUT): $(OBJS)
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OUT) $(OBJS) *-debugcc
|