perf: overflow test
Change-Id: Ic7aa0d99ae9a5b7d3ce4436129a360275e6937ca refs: #1358
This commit is contained in:
23
test/perf_overflow/Makefile
Normal file
23
test/perf_overflow/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
# Makefile COPYRIGHT FUJITSU LIMITED 2019
|
||||
CC := ${CROSS_COMPILE}gcc
|
||||
|
||||
CFLAGS += -Wall -O0 -ggdb3
|
||||
|
||||
TARGET := perf_overflow
|
||||
SRC := $(wildcard *.c)
|
||||
OBJ := $(SRC:.c=.o)
|
||||
DEP := $(SRC:.c=.d)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
$(CC) $(CFLAGS) $^ -o $@
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -MMD -MP -c $<
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) $(OBJ) $(DEP) $(TARGET)
|
||||
|
||||
-include $(DEP)
|
||||
Reference in New Issue
Block a user