init
This commit is contained in:
24
scenario3-syscall-storm/Makefile
Normal file
24
scenario3-syscall-storm/Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
CC = gcc
|
||||
CFLAGS = -O2 -Wall
|
||||
|
||||
all: read_slow read_fast read_stdio testfile
|
||||
|
||||
read_slow: read_slow.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
read_fast: read_fast.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
read_stdio: read_stdio.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
testfile:
|
||||
dd if=/dev/urandom of=testfile bs=1M count=1
|
||||
|
||||
smallfile:
|
||||
dd if=/dev/urandom of=smallfile bs=10K count=1
|
||||
|
||||
clean:
|
||||
rm -f read_slow read_fast read_stdio testfile smallfile
|
||||
|
||||
.PHONY: all clean testfile smallfile
|
||||
Reference in New Issue
Block a user