summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc1fdb3..ab777b4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC = gcc
CC_PARAMS = -O3 -Wall -Werror -fopenmp -c
C_SOURCES = graymap.c graymap_alleg.c paledit.c mandelbrot.c
OBJ = $(C_SOURCES:%.c=%.o)
-LIBS = `allegro-config --libs` -lm -lgomp
+LIBS = `allegro-config --libs` -lm -lgomp -lpthread
mandelbrot: $(OBJ)
$(CC) $(LIBS) -o mandelbrot $(OBJ)