|
|
@ -6,7 +6,7 @@ CC_OPENMP=gcc # no OpenMP in our clang
|
|
|
|
CFLAGS_OPENMP=$(CFLAGS) -fopenmp
|
|
|
|
CFLAGS_OPENMP=$(CFLAGS) -fopenmp
|
|
|
|
|
|
|
|
|
|
|
|
TARGETS=approximate-pi linked-list mandelbrot threads circular-buffer structs ncurses-pong bit-fuckery bit-fuckery2 checkcheck multibrot bloom wo-lernen lua-foo binsearch test-inline-assembly uiowa-threads-example mtrace-test av-variance undefined-behaviour multibrot-openmp hello-openmp mandelbrot-openmp
|
|
|
|
TARGETS=approximate-pi linked-list mandelbrot threads circular-buffer structs ncurses-pong bit-fuckery bit-fuckery2 checkcheck multibrot bloom wo-lernen lua-foo binsearch test-inline-assembly uiowa-threads-example mtrace-test av-variance undefined-behaviour multibrot-openmp hello-openmp mandelbrot-openmp
|
|
|
|
EXTRAS=mandelbrot.bmp multibrot.png test-inline-assembly.s tags mtrace-test.trace mtrace-test.txt
|
|
|
|
EXTRAS=mandelbrot.bmp multibrot.png test-inline-assembly.s tags mtrace-test.trace mtrace-test.txt multibrot-openmp.png
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGETS)
|
|
|
|
all: $(TARGETS)
|
|
|
@ -49,6 +49,9 @@ multibrot: multibrot.c
|
|
|
|
multibrot.png: multibrot
|
|
|
|
multibrot.png: multibrot
|
|
|
|
./multibrot -j2
|
|
|
|
./multibrot -j2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
multibrot-openmp.png: multibrot-openmp
|
|
|
|
|
|
|
|
time ./multibrot-openmp
|
|
|
|
|
|
|
|
|
|
|
|
lua-foo: lua-foo.c
|
|
|
|
lua-foo: lua-foo.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $< -llua -lm
|
|
|
|
$(CC) $(CFLAGS) -o $@ $< -llua -lm
|
|
|
|
|
|
|
|
|
|
|
|