First page Back Continue Last page Summary Graphics
Example makefile
Compiling a C program
- OBJ = main.o ruf.o fs.o device.o fatal.o
- CFLAGS = -DEXT2=2 -DLinux -O -ansi -Wall
- .c.o:
bpsh -Ny gcc -c $(CFLAGS) $<
- prog: $(OBJ)
gcc -oprog $(OBJ)
Run with make -j8
Results
- Pretty good load balancing
- Barrier at link
- Link on master usually faster than on slave
Notes: