summaryrefslogtreecommitdiff
path: root/lib/pthreadpool/Makefile
blob: 48626bd2c0a86abd47e7fe5ccb530ffb27aac359 (plain)
1
2
3
4
5
6
7
8
9
all: tests

CFLAGS=-O3 -g -Wall

pthreadpool.o: pthreadpool.c pthreadpool.h
	gcc -c -O3 -o pthreadpool.o pthreadpool.c -I../../..

tests: tests.o pthreadpool.o
	gcc -o tests tests.o pthreadpool.o -lpthread