summary refs log tree commit diff
path: root/linuxthreads/Examples/Makefile
blob: c68b3676a45743e3bebc154cc6474fc44706bee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=gcc
CFLAGS=-g -O -Wall -I.. -D_REENTRANT
LIBPTHREAD=../libpthread.a

PROGS=ex1 ex2 ex3 ex4 ex5 proxy

all: $(PROGS)

.c:
	$(CC) $(CFLAGS) -o $* $*.c $(LIBPTHREAD)

$(PROGS):

clean:
	rm -f $(PROGS)