Initial programs from intro chapter

This commit is contained in:
Remzi Arpaci-Dusseau
2018-08-15 11:52:29 -05:00
parent 54a012aa8e
commit f90b42f9fa
7 changed files with 165 additions and 0 deletions

18
intro/Makefile Normal file
View File

@@ -0,0 +1,18 @@
all: cpu mem threads io
clean:
rm -f cpu mem threads io
cpu: cpu.c common.h
gcc -o cpu cpu.c -Wall
mem: mem.c common.h
gcc -o mem mem.c -Wall
threads: threads.c common.h common_threads.h
gcc -o threads threads.c -Wall -pthread
io: io.c common.h
gcc -o io io.c -Wall