Initial programs from intro chapter
This commit is contained in:
18
intro/Makefile
Normal file
18
intro/Makefile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user