If size exceeds, mmap fails and set -ENOMEM Change-Id: I4f0d6e18ee3a7c8e32e251b7ed07ee9f76305603 Refs: #1183
18 lines
166 B
Makefile
18 lines
166 B
Makefile
CC = gcc
|
|
TARGET=hugemap
|
|
|
|
CPPFLAGS =
|
|
LDFLAGS =
|
|
|
|
all: $(TARGET)
|
|
|
|
hugemap: hugemap.c
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
test: all
|
|
@sh ./C1183.sh
|
|
|
|
clean:
|
|
rm -f $(TARGET) *.o
|
|
|